Cannot open old operational simulink program
37 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yong Zhou
el 21 de Nov. de 2024 a las 0:51
Comentada: Walter Roberson
el 21 de Nov. de 2024 a las 20:33
I cannot open old working simulink programs (2018) with 2021a. It said "Error using open (line 143) File 'C:\......slx' does not contain a valid Simulink model in SLX format: Content types stream does not exist". I also cannot open old working .m file instead of a small square.
2 comentarios
Walter Roberson
el 21 de Nov. de 2024 a las 2:22
Is it possible for you to attach the slx for testing?
John D'Errico
el 21 de Nov. de 2024 a las 2:25
Editada: John D'Errico
el 21 de Nov. de 2024 a las 2:38
If you cannot open the old m-file also, this makes it likely something is corrupt, as an m-file is just a text file.
Can you open the problematic m-file with some other text editor?
Respuestas (1)
Suraj Kumar
el 21 de Nov. de 2024 a las 2:53
I understand the issue that you are facing.The error could arise for various reasons.
Here are a few workarounds that you can try :
1. Execute the following commands in MATLAB Command Window:
restoredefaultpath
rehash toolboxcache
savepath
2. Check the location of the temp directory after typing the 'tempdir' command on your MATLAB command prompt:
tempdir
Ensure the path of the temp directory you get after typing the command is local on your machine.And clean your temp directory if it is full and then try to run your model.
3.Performing a clean reinstalling of MATLAB might also help.You can refer to the following link for the steps to re-install:
Hope this helps!
Ver también
Categorías
Más información sobre Environment and Settings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!