binto
Newbie level 5
In matlab when executing a model file i use scope to view the ouput waveforms ..... after simulation is over the waveform in the scope window is saved with a variable name..... eg:ScopeData. after this if i want to copy the wavform to any word or notepad i have to give a command in the command window...... it s like this
simplot(variable name) variable name is what v saved here it s simplot(ScopeData).after this i will get the output waveform in a new window where i can edit it. but the prblm now is after executing this simplot i get the following error pls help me soon...........
??? Attempt to execute SCRIPT plot as a function:
C:\Users\indhumathi\Documents\MATLAB\plot.m
Error in ==> simplot>i_PlotScopeStruct at 465
hLines = plot(ones(2,nLines)*NaN, 'LineStyle',
lineStyles{rem(runNo-1,length(lineStyles))+1});
Error in ==> simplot at 411
i_PlotScopeStruct(data{i}, ports, i);
simplot(variable name) variable name is what v saved here it s simplot(ScopeData).after this i will get the output waveform in a new window where i can edit it. but the prblm now is after executing this simplot i get the following error pls help me soon...........
??? Attempt to execute SCRIPT plot as a function:
C:\Users\indhumathi\Documents\MATLAB\plot.m
Error in ==> simplot>i_PlotScopeStruct at 465
hLines = plot(ones(2,nLines)*NaN, 'LineStyle',
lineStyles{rem(runNo-1,length(lineStyles))+1});
Error in ==> simplot at 411
i_PlotScopeStruct(data{i}, ports, i);