Matlab function in Simulink
8 ビュー (過去 30 日間)
古いコメントを表示
I have a function which is also consist of some functions.
I want to run a simulink to put a controller to control the mass flow rate.
But, when I can the matlab function from simulink, I received a lot of errors (about the optimization part and etc.).
How can I run this matlab function continiously insimulink without error?
2 件のコメント
Sam Chak
2022 年 5 月 7 日
Yes, it is possible to control the mass flow rate in Simulink.
But can you show the governing flow equation,
and the flow control law,
?
You are also encouraged to display the control block diagram here.
回答 (1 件)
Joel Van Sickel
2022 年 5 月 10 日
Hello Mohammad,
This answer addresses using the 'coder.extrinsic' setting to use more complicated functions so they work with Simulink inside of the matlab function block.
Regards,
Joel
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Specialized Power Systems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!