change slxc to slx

147 Ansichten (letzte 30 Tage)
Magda
Magda am 14 Okt. 2023
Beantwortet: Kazem am 9 Sep. 2024
Hi
How do i change my simulink slxc to slx?

Akzeptierte Antwort

Ramtej
Ramtej am 16 Okt. 2023
Hi Magda,
I understand that you are trying to change ".slxc" file to ".slx".
A quick overview on ".slxc" and ".slx" files:
The ".slxc" files are the cache files associated with referenced models in Simulink. They are generated when you build your model during code generation. The cache files contain artifacts from the build that can reduce the time required for successive model simulation and code generation. Whereas the ".slx" file extension is the standard file extension for Simulink model files. These files contain the Simulink model itself and can be opened, edited, and simulated within the Simulink environment.
Simply, you cannot convert cache files to model files.
Hope this resolves your query!

Weitere Antworten (1)

Kazem
Kazem am 9 Sep. 2024
You can use
slxcunpack
unpacks the simulation and code generation artifacts from the specified Simulink® cache file for the current platform and MATLAB® release.
https://se.mathworks.com/help/simulink/slref/slxcunpack.html

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by