change slxc to slx

234 次查看(过去 30 天)
Magda
Magda 2023-10-14
回答: Kazem 2024-9-9
Hi
How do i change my simulink slxc to slx?

采纳的回答

Ramtej
Ramtej 2023-10-16
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!

更多回答(1 个)

Kazem
Kazem 2024-9-9
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

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by