⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loaddata.asv

📁 一些自已编写的SVM应用程序,对初学者很有启发意义,
💻 ASV
字号:
function H=LoadData()

%handles.pushbutton1=get(hObject,'Value');
%data=get( gcf,'UserData');
[name,path]=uigetfile('*.mat','Open file');
 if name~=0,
      file.pathname=strcat(path,name); 
      file.path=path;
      file.name=name;
 %    if checkdat(file.pathname,DATA_IDENT,2,[0 0])==1,  
     if check2ddata( file.pathname ), % check2ddata( file.pathname ),
         %set(data.pushbutton1,'UserData',file);
         set(gcf,'UserData',file);
      %  SVM('loadsets', gcf);
      Addpath('');
      H=loadsets(gcf);
      %  SVM('reset', gcf);
      reset(gcf);
      else
         errordlg('This file does not contain required data.','Bad file','modal'); 
      end
   end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -