plot simulink signal into matlab
Show older comments
I have to plot a signals in a MATLAB gui.
With Simulink I make a simulation and I save the signal in the scope. I want to plot that signal in matlab I dont know what I have to do.i have used already plot(ScopeData.time, ScopeData.signals.values)command but it shows Undefined function or variable 'ScopeData'. now how can i solve it?
Accepted Answer
More Answers (1)
Ali
on 4 Feb 2013
0 votes
plot(sig) use obviously it in command window signal will be present in workspace
Categories
Find more on Scopes and Data Logging in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!