Matlab Simulink scope log or saved data
I have a simulink model with a scope output that I want to observe. However, I want the data shown on the p开发者_如何转开发revious simulation while being stopped to be continuously shown on the scope window, or saved to a file somewhere. Is there any easy way to achieve this? Thanks in advance.
I'm not sure about showing it on the scope, but you can save the data shown in a scope to a workspace variable, and then save that variable to a mat file.
See the section on Save data to workspace in the scope documentation
精彩评论