How to download file in Online Matlab?

1,547 views (last 30 days)
Jose Carrasco Ramon
Jose Carrasco Ramon on 27 Sep 2019
Commented: Julius on 28 Oct 2024
I need help downloading a script in my computure using the online MATLAB.
  10 Comments
Shaquille
Shaquille on 27 Feb 2023
Moved: Rik on 27 Feb 2023
how do i download .m file from matlab online? why i can only download as pdf or png?
Julius
Julius on 28 Oct 2024
To download a .m file from MATLAB Online, right-click the file in the left file browser, then select Download to save it directly to your computer. If you only see PDF or PNG options, you might be using an .mlx file. In that case, open the file, go to File > Save As, and choose the .m format, then download it. This lets you save the file in the desired format.

Sign in to comment.

Answers (4)

Rahil
Rahil on 23 Mar 2023
From MATLAB version R2023a onwards, the “Upload” and “Download” buttons were removed from the global tool strip.
  • You can now find the “Upload” and “Download” buttons in the following places:
1) You can right-click a file in the Files side-panel and "Download" from the context menu.
2) Similarly, you can right-click on a folder in the Files side-panel and "Upload" a file to the folder from the context menu.
  • You can continue to drag and drop files into the Files window to “Upload” a particular file, as available in the previous MATLAB releases.
For more information on how to “upload” or “download” files in MATLAB Online, you can refer to this link https://www.mathworks.com/help/matlab/matlab_env/access-files-in-matlab-online.html
  2 Comments
Saniya
Saniya on 26 Mar 2023
I am not able to download my file from the MathWorks to my computer is there any other way I can try ?
Walter Roberson
Walter Roberson on 26 Mar 2023
If you are using MATLAB Online, and you cannot see the list of folders and files, then give the command
filebrowser
Once the list appears, you can navigate around on it. When you find a file you are interested in, right click on it in the list, and Download will be one of the options shown.

Sign in to comment.


Abhilash Padma
Abhilash Padma on 3 Oct 2019
In MATLAB Online, you can download any file onto your desktop by clicking the "download" button on the toolstrip (under the "Home" tab). This will download the selected file in your Folder Browser to your desktop.
  3 Comments
Gonzalo Ezequiel Reyes Castillo
You should zip the folder first, and then the donwload button will no longer be grayed out.
tiso taek
tiso taek on 2 Mar 2021
it worked- i zipped and downloaded

Sign in to comment.


Durgesh Nagar
Durgesh Nagar on 16 Apr 2021
i cant find the tool script button
  3 Comments
Walter Roberson
Walter Roberson on 25 Apr 2021
When you are in MATLAB Online ( https://matlab.mathworks.com ) use the "Current Folder" tool to navigate to the file you want to download, and click on it. Then look in the HOME tab at the top of the MATLAB Online page, and notice that just to the right of the Open icon, there is now an active Download button.
This button will not be active unless you have clicked on a file. You cannot directly use this tool to download a directory.
If you want to download an entire directory, then use the Current Folder tool and navigate to the folder that contains the directory, and single click on the directory. It is okay if it is shaded rather than bold at the time you click on it; that means that it is not on the current path, but you can still work with it. Now right-click and choose "Create Zip File". Once you have created the zip file, then you can navigate to the zip file and download the zip file the way I described earlier.

Sign in to comment.


Pawar
Pawar on 22 Nov 2023
If you want to download your .m file, you might consider an indirect approach:
Save as .m File Locally:
Open your script in MATLAB Online. Copy the content of your script. Open a local MATLAB environment or a text editor. Paste the content and save the file with a .m extension. Download from MATLAB Drive:
Save your script to MATLAB Drive from MATLAB Online. Open MATLAB Drive in a web browser. Locate your .m file, right-click, and download it. Use MATLAB Desktop:
If possible, consider using the MATLAB desktop version, which generally provides more flexibility in managing files.

Categories

Find more on Downloads in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!