MATLAB: Simulink cache file won’t open

cachesimulink

Hi,
I have a file that Simulink saved as a cache file (.slxc). I don't recall saving it as such so first, why does it save to this format? Second, the file won't open anymore. The following error pops up:
Simulink cache for filename
This Simulink cache contains derived files for the following releases and platforms:
R2018b : all platforms
Variable usage information Yes
Is there a way to correct this or open the file? It's not opening in 2018b or 2019b

Best Answer

That is the correct behavior.
.slxc files are Simulink cache files. These files contain build artifacts that can speed up simulation and code generation.
When any changes are made to the model, only the edited files are built based on if the Rebuild configuration parameter is set accordingly.
release note :
Related Question