Uninstalling old version of Matlab

8 visualizaciones (últimos 30 días)
Luke Megonigal
Luke Megonigal el 31 de Mzo. de 2020
Comentada: Luke Megonigal el 12 de Abr. de 2020
I have three versions of Matlab on PC: R2017a, R2018b, and R2019b. I want to free up my laptop and delete these unused versions. I have a bunch of files that were created with R2017a. When I open these files they will open up R2017a instead of R2019B (even though I have R2019B on my PC). If I delete R2017a and R2018b from my PC, what will happen to these old files which default-open R2017a ? I ask because I still use those old files regularly for my academic research.
  10 comentarios
Walter Roberson
Walter Roberson el 10 de Abr. de 2020
Sounds plausible.
Luke Megonigal
Luke Megonigal el 12 de Abr. de 2020
I took a closer look at the documentation and ran the code. It worked wonderfully! Thank you for this code and your help.

Iniciar sesión para comentar.

Respuestas (1)

Anurag Agrawal
Anurag Agrawal el 3 de Abr. de 2020
M-files will work in the newer version provided functions are not deprecated in newer version.
As mentioned in the comment, you can test the files by opening the files using the desired version of MATLAB.
In order to use Simulink files, you will need to be mindful of which version you are using. You can always open an older file in a newer release (i.e. R2019b will open a R2017a Simulink model), but not the other way around (i.e. R2019b will not open a R2017a Simulink model). To be backwards compatible, you will need to make sure you "export" any work done in R2019b to R2017a by going to File >> Export As >> Previous Version.
You can also have a look at the answer by Vikaasa Kumar about the codeCompatibilityReport:
Documentation for codeCompatibilityReport:

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by