필터 지우기
필터 지우기

Is it possible to export a MATLAB script/function to Functional Mockup Unit (FMU) for use in other modeling tools?

조회 수: 17 (최근 30일)
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

답변 (1개)

Jinal
Jinal 2023년 2월 17일
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.

카테고리

Help CenterFile Exchange에서 Create Standalone FMU에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by