change slxc to slx

조회 수: 147 (최근 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