Subsystems working in different workspaces.
显示 更早的评论
I have been provided with a Simulink subsystem (this maybe incorrect terminology) from a colleague. For IP reasons, the Subsystem is compiled into a *_sf.mexw32 file with some I/O. I have it working completely and I am happy with it. When it runs it creates a lot of variables in the workspace.
I need to have two of these models running in the same Simulink model and when the inputs are identical the system works as required, when I vary one input the whole model crashes stops running, I suspect that this is something to do with the shared workspace variables. Can I run each subsystem in a different workspace, so that that values are not shared and it has its own instance of them?
Sorry if this makes no sense.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!