How to Export FMU with Source Code from Simulink with Matlab 2020b?
Show older comments
Hi
I need to export simulink/simscape (Matlab 2020b) model as FMU with source code. This is becasue i need to be able to build this FMU in Typhoon HIL which accepts plant model as FMU.
When i try to use 'exportToFMU2CS' with argument 'SaveSourceCodeToFMU', i get error about 'Invalid input options specified to exportToFMU2CS function'. When i see documentation in Matlab 2020b i see that this Name pair argument dosn't exist in Matlab 2020b but exist for higher versions.
I wanted to ask, how can i export FMU with source code from simulink with Matlab 2020b version?
Answers (0)
Categories
Find more on FMU Importing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!