System of equations Simulink
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Simulink Coder en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!