calldit.m

来自「MyGui.rar」· M 代码 · 共 21 行

M
21
字号
function calledit(hedit,hpush);
loadpath=get(hedit,'string');
if ~isempty(loadpath)    
strLocalPath = loadpath;
for ii = 1: 1: iNumOfChannel
    AmpC(ii, :) = load(sprintf('%s\\%d\\Mark2Amp.txt', strLocalPath, ii));
    PhaC(ii, :) = load(sprintf('%s\\%d\\Mark2Phas.txt', strLocalPath, ii));
end
   
for ii = 1: 1: iNumOfChannel
    title('幅度');
    plot(AmpC(ii, :));
    hold all;
end
figure(3);
for ii = 1: 1: iNumOfChannel
    title('相位');
    plot(PhaC(ii, :));
    hold all;
end
end

⌨️ 快捷键说明

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