saving file in fmu format generates fmu and xml file or only fmu file?

6 次查看(过去 30 天)
saving file in fmu format generates fmu and xml file or only fmu file?

回答(1 个)

Pratyush
Pratyush 2023-7-27
I understand that you want to know if saving file in 'fmu' format genrerates 'xml' format along with it or not. In MATLAB, when saving a file in FMU (Functional Mock-up Unit) format, only the FMU file is generated. The FMU file contains the binary representation of the model along with necessary resources and data. It does not generate an XML file by default.
However, it's worth noting that the FMU format itself is based on the Model Exchange or Co-Simulation standards defined by the Functional Mock-up Interface (FMI) standard. The FMI standard does include an XML file called the Model Description XML, which provides information about the model's structure, variables, and other properties. This XML file is usually included alongside the FMU file when distributing models.
If you need the Model Description XML file along with the FMU file, you can generate it separately using MATLAB by using the FMU export options and specifying that you want to generate the Model Description XML. Refer to the following document for details: Export Simulink Models to Functional Mock-up Units - MATLAB & Simulink - MathWorks India

类别

Help CenterFile Exchange 中查找有关 Create Standalone FMU 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by