Simulink Analyzer#
The Matlab/Simulink Analyzer takes as input a Simulink XML file and generates LDI from it. It works only for Standard Simulink models, not with the extended models such as those that are based on state.
This analyzer does a XSL transformation on the Simulink XML file to generate the LDI file. Contact Lattix (support@lattix.com) if you would like to try it out. Please note that this analyzer is provided for demonstration purposes only. If there is sufficient interest we will consider it developing and supporting it.
Generate the Simulink XML file#
Export xml model data from Simulink by running the following command:
save_system('sys', 'sim_filename.xml','ExportToXML', true)
Generate the LDI file#
Run the following command (note that this command assumes that you java installed and it is in your path):
java -jar saxon9he.jar -s:sim_filename.xml -xsl:mdlxml2ldi.xsl -o:output_filename.ldi.xml
-s:sim_filename.xml: Specify the xml file that you exported from Simulink.
-o:output_filename.ldi.xml: Specify the name of the ldi file for the output.
Create a Lattix project#
The generated ldi file can be loaded in using the LDI module.
Acknowledgement#
This analyzer was developed by TechMatrix, a Lattix partner in Japan.