Is there a possibility to export C code generated from matlab coder as an FMU?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
saikrishna devarashetty
el 2 de Ag. de 2018
Comentada: Walter Roberson
el 11 de Dic. de 2018
I am new to FMU, till now I was working on Simulink models and exporting the Simulink models as FMUs was simple as I had Modelon toolbox installed. Now my requirement is exporting the C code generated from matlab coder as FMU, is there any toolbox which can perform this activity?
0 comentarios
Respuestas (3)
Walter Roberson
el 8 de Dic. de 2018
Editada: Walter Roberson
el 11 de Dic. de 2018
There was no supported way when the question was asked but a way was added since then.
Techniques for earlier versions are mentioned there .
2 comentarios
Lisa B.
el 11 de Dic. de 2018
Editada: Lisa B.
el 11 de Dic. de 2018
From what I have read, using the built-in toolbox in Matlab 2018 requires an instance of Matlab to be running when the fmu is ran. I would like to export a custom S-function to an FMU with no ties to Matlab. Also, I want the source code for the FMU as well. If I have a hand written S-Function, I don't see why I should have to be tied to Matlab products when it is converted to an FMU.
Walter Roberson
el 11 de Dic. de 2018
I do see though "You can now start the third-party application and import the tool-coupling FMU. Each FMU instance requires a new MATLAB session." so perhaps it could be completely exported that way ?
Ver también
Categorías
Más información sobre Create Standalone FMU 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!