System of equations Simulink

조회 수: 1 (최근 30일)
Lenin Cruz
Lenin Cruz 2019년 8월 28일
Hello,
Just wanted to know if there is a way of solving systems of equations in matlab without using 'syms' (symbolic variables)? I need it for running a model in simulink which implies solving systems of equations but it does not work for symbolic functions. I know this can be solved using coder.extrinsic calling an external .mat file where my syms function is running. (it didn't work for me). However, coder.extrinsic prevents simulink generating code for the .mat file, instead simulink just call it and run it in matlab. Eventually, I will need to generate C code for other applications so using the method explained above will not work for me.
Any suggestions about that? would you rather start thinking about implementing the 'system of equations solving' function in C?
Thanks a lot.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by