change slxc to slx

226 views (last 30 days)
Magda
Magda on 14 Oct 2023
Answered: Kazem on 9 Sep 2024
Hi
How do i change my simulink slxc to slx?

Accepted Answer

Ramtej
Ramtej on 16 Oct 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!

More Answers (1)

Kazem
Kazem on 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

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!