Is it possible to export a MATLAB script/function to Functional Mockup Unit (FMU) for use in other modeling tools?
Mostra commenti meno recenti
Hi all,
I have a robot trajectory simulation in a MATLAB script and I would like to co-simulate together with other modeling tool.
I'm new to FMI and the most I've read is about Simulink. Is there any possibility to export an FMU directly from a MATLAB script (or function) or should I migrate it to a Simulink model?
Thank you,
Jon
Risposte (1)
Jinal
il 17 Feb 2023
0 voti
Hi Jon,
I understand that you wish to directly export the MATLAB script/function to FMU. At present, there is no tool that allows direct conversion of MATLAB script to FMU. You can use MATLAB Function Block to implement your functions in Simulink. Then, you can export the Simulink model to FMU.
For information on how to export Simulink models to FMU, please refer the following link: https://www.mathworks.com/help/simulink/ug/export-model-as-tool-coupling-fmu.html
Hope this helps.
Categorie
Scopri di più su FMU Importing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!