Info

此问题已关闭。 请重新打开它进行编辑或回答。

How can generate new initial values in workspace from simulink to reset a subsystem?

2 次查看(过去 30 天)
I have a simulink file that is initialized with a m-file. I define the m-file as the initialization callback and I don't have problem to initialize the simulink for the first time. But, I need to reset a subsystem of my simulink file to the values that differ from the initial values. To comput the reset values, I need to run the m-file in workspace. How can I run a m-file in workspace from simulink to use its output as the reset value?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by