Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 simulink 模型,其中包含我想要观察的范围输出。但是,我希望上一次模拟中显示的数据在停止时持续显示在示波器窗口上,或者保存到某个文件中。有没有简单的方法来实现这一目标?提前致谢。
我不确定是否要在范围内显示它,但您可以将范围内显示的数据保存到工作区变量中,然后将该变量保存到 mat 文件中。
请参阅范围文档中有关将数据保存到工作区的部分