フィルターのクリア

Older versions of Matlab

23 ビュー (過去 30 日間)
heidi burgess
heidi burgess 2021 年 2 月 13 日
コメント済み: Walter Roberson 2021 年 2 月 15 日
I have a number of older versions of Matlab on my laptop - to free up space on my laptop am I able to safely uninstall these and just keep the 2020b version?

採用された回答

Walter Roberson
Walter Roberson 2021 年 2 月 13 日
Yes and No.
Deleting an old version of MATLAB will not interfere with executing newer versions. The versions do not share anything (except the parts you load in through the Add-On Explorer: those gets shared.) And you can certainly save a lot of disk space by deleting old versions.
Factors to consider, though:
  • Mathworks only keeps documentation for the last 5 years online. After that, you are expected to use the built-in documentation
  • sometimes you encounter third-party toolboxes that insist on being run in a particular version or range of versions. In some cases it means that there is some incompatibility and they will not work with newer versions; in some cases it just means that they did not test with a newer release, and don't want to be stuck trying to debug with newer versions
  • There are some device drivers that will only work up to R2015b on Windows 32. If you need (or might need) one of those devices then you do not have much choice
  • as you develop software, you might encounter cases where "this used to work!". Sometimes the failure is due to source code changes you forgot you made or which did not seem relevant to the failure. Sometimes the failure is due to operating system changes. Sometimes the failure is due to hardware changes. Sometimes the failure is due to you having updated MATLAB and the new version of MATLAB has bugs that the older one did not have; sometimes the failure is due to you having updated MATLAB and the new version does better error checking and catches an error in your previous code. Sometimes the failure is due to you having updated MATLAB and something works differently for documented reasons. Sometimes the failure is due to you having updated MATLAB and the new version withdrew functions you were using. And... most of those cases, a good debugging step is to go back and run your software in a previous version of MATLAB and see whether the problem sticks with the system (fails the same way in the older version) or depends upon the MATLAB release.
  • Sometimes when you use a newer release, the software just gives different results than you are expecting, such as if the high performance math libraries were improved and the changes cascade. In such cases, you can need the older versions on hand to test extensively against the newer version to figure out which version is the "better" version for your purposes. Notice I do not say which version is "right": It is fairly common for versions to turn out different but both to be "valid". For example, it turns out that when you sum() arrays, the answer you get can depend upon how many CPUs you have
  • Sometimes you will end up interacting with someone who has older releases. When they report seeing something different than you see, there can be all kinds of reasons (some of which I list above), and it helps a lot to be able to test in the same release they have, to rule out (or not) differences between the versions.
  2 件のコメント
heidi burgess
heidi burgess 2021 年 2 月 15 日
Walter, thank you for this comprehensive reply. Just one question, could you just explain your first point a little more:
  • Mathworks only keeps documentation for the last 5 years online. After that, you are expected to use the built-in documentation
Thanks Heidi
Walter Roberson
Walter Roberson 2021 年 2 月 15 日
That is the link to the archived documentation for previous releases. Notice that it currently only goes back to R2015b. When R2021a is released in a month or so, the documentation for R2015b will be removed.
I have had internal discussions with Mathworks about that policy; they are still investigating options, but they are certain that the old documentation will not be kept in the existing form.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by