Info
此问题已关闭。 请重新打开它进行编辑或回答。
Executing a Simulink function from a Matlab function in Stateflow
1 次查看(过去 30 天)
显示 更早的评论
I have a working Stateflow Chart that executes a number of Matlab functions. I would like to convert some of those functions to Simulink functions, but they usually have some "if" control structures that are more easily done in Matlab than Simulink. The stuff inside the "if"s, though, would translate to Simulink very nicely.
Is it possible to execute a Simulink function from a Matlab function in a Stateflow Chart? If so, how do you do it?
Thanks for your time.
0 个评论
回答(1 个)
Azzi Abdelmalek
2012-11-23
You can use Simulink Function (Graphic function available in your chart)
1 个评论
此问题已关闭。
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!