Clear Filters
Clear Filters

How can I use a previous version of Matlab ? I using Matlab 2022b and I would like to run some script in a previous version 2021a. Thanks

30 views (last 30 days)
How can I use a previous version of Matlab ? I using Matlab 2022b and I would like to run some script in a previous version 2021a.
Thanks

Answers (2)

Divyam
Divyam on 21 Aug 2024 at 16:29
Edited: Divyam on 21 Aug 2024 at 17:02
Hi @Tayeb, to use a previous version of MATLAB you need to visit the 'downloads' page on the official MathWorks website. Here you can download the version you require after selecting it from the dropdown. Here is the link for the page: https://www.mathworks.com/downloads/
In general, to launch MATLAB R2021a, navigate to the folder where MATLAB was installed and run the '.exe' file directly.
To run the older version (on Windows) using a cmd command, open the Command Prompt, type the command below, and press enter.
"C:\Program Files\MATLAB\R2021a\bin\matlab.exe"
If you already have the older version installed (on Windows), just change the order of the 'System Environment Variables'. Navigate to Edit the system environment variables > Environment Variables ... > System Variables > Path and edit the 'Path' variable to move the path to MATLAB R2021a above the path of MATLAB R2022b.

Cris LaPierre
Cris LaPierre on 21 Aug 2024 at 16:30
You need to install each version you want to run.
Visit the downloads page and use the dropdown menu to select the version you want. Note that what versions you have access to will depend on your license.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!