System of equations Simulink
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!