Sym Function to Simulink
조회 수: 9 (최근 30일)
이전 댓글 표시
I have a symbolic function that I want to get to a Simulink System.
The parameters may change, so copy and paste to a Matlab/S-Function is not an option.
I found out, with matlabFunction I can create a function handle from the symfun. But getting a function handle to a Simulink function, seems also a problem.
댓글 수: 0
채택된 답변
Harshendra Shah
2020년 8월 21일
Hi Tobias,
I think you can use 'matlabFunctionBlock' function to Generate MATLAB Function Blocks from Symbolic Expressions. You can refer to the following link:
There is also an other way to use Symbolic Function inside a Simulink model. Going through following MATLAB Answers post might help you.
I hope this helps.
Regards,
Harshendra
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!