FMU export and import
4 ビュー (過去 30 日間)
古いコメントを表示
Hi
I am trying to understand how to use FMU and have created a model and exported it as an FMU and the import it again using a FMU import block. I get the modell to work but when looking at the block parameters for the FMU it says there are "No data to dispay" for Parameters and for input ant output is says "This block contains no structured input/output ports." I can not see the parameters in the XML file either so i can not change the variability in the XML-file.
Why are not any parameters visible as a block parameter or in the XML and what does it mean that the block does not contain any structures inputs/output port?
Does the inputs/outputs need to be declared in some specific way before exporting the FMU?
Is it possible to change the visibility or tunability of parameters in the modell before exporting it as a FMU?
Kind regards Adam Johansson
0 件のコメント
回答 (1 件)
Yash
2025 年 1 月 19 日
Input and Output of FMUs are determined by the FMU file. The "Input/Output" panel here is used to configure bus object names for structured ports only. If there are no structured input/output ports, the panel is blank.
Refer to this post by MathWorks Support Staff for including tunable parameters while exporting a Simulink model as an FMU: https://www.mathworks.com/matlabcentral/answers/468256-how-to-include-tunable-parameters-when-exporting-a-simulink-model-as-a-tool-coupling-fmu-in-r2018b-o
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!