Info

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

run m file triggered by simulink but outside simulink

1 次查看(过去 30 天)
I want to run m file which is triggered by simulink model-1 output (triggered by constant=1), but i want it to run outside of simulink model-1. The m file will execute an import function from excel and transfer to workspace then simulink model-2 will be executed after worspace is generated. I've been trying to use Matlab custom function block but it gives me error , so i just want a trigger to run m file normally without using Interpreted Matlab function.

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by