change slxc to slx
조회 수: 147 (최근 30일)
이전 댓글 표시
채택된 답변
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!
댓글 수: 0
추가 답변 (1개)
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
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!