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

📄 calledit.m

📁 MyGui.rar
💻 M
字号:
function calledit(hedit,hpop,hpush,directoryname);
vpop=get(hpop,'value');
strLocalPath=get(hedit,'string');
iNumOfChannel=8;
 hold off;
if ~isempty(strLocalPath) & vpop==1
   for ii = 1: 1: iNumOfChannel
    AmpC(ii, :)= load(sprintf('%s\\%d\\Mark2Amp.txt', strLocalPath, ii));
    AmPh(ii,:)= AmpC(ii, :);
    title('幅度')
    plot( AmPh(ii,:));
    hold all;
   end
elseif ~isempty(strLocalPath) & vpop==2
 
    for ii = 1: 1: iNumOfChannel
    PhaC(ii, :) = load(sprintf('%s\\%d\\Mark2Phas.txt', strLocalPath, ii));
    AmPh(ii,:)=  PhaC(ii, :);
    title('相位')
    plot( AmPh(ii,:));
    hold all;
    end
elseif isempty(strLocalPath)
    title('');
      cla(gca);
      
end
end

⌨️ 快捷键说明

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