Matlab function in Simulink
조회 수: 5 (최근 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!