How can I upload files from computer to Matlab Online?

This may be a silly problem ,but I really didn't find out the solution.Anyway,there're people saying that you can find a upload button in "Home" Tab,but I really don't see that.I am just hoping if anyone could show me.
I upload a picture about what I saw in my Matlab Online.Thank you.

7 Comments

I have the same problem =(
Just a comment for those coming across this post now. This screenshot is old (from 2015). MATLAB Online does now have an upload button. You may notice some additional features in 20b that were not previously there, either.
I do not see an upload icon when I run matlab online. The "drag and drop" option is also non functional. The only way that I know of to upload is to go to drive.matlab.com.
As part of the R2023a release, it was removed.
You can add files via drag and drop, via MATLAB Drive, or via MATLAB Drive Connector
If drag and drop is not working for you, please contact support.
My version of matlab works does not have the button(2023)
I am facing the same difficulties as ther eis no upload buttons on the home tab

Sign in to comment.

Answers (9)

Upload your files to drive.matlab.com or something like this website and then you can access it from the online matlab website
The Upload and drag/drop will not allow you to add a folder (there should be an Upload button on your Home Tab toolstrip).
However, notice what the root folder is - MATLAB Drive. Since you are wanting to copy a folder from your computer already, I suggest using MATLAB Drive Connector. This will place a MATLAB Drive folder on your computer. Any content placed in that folder will sync with MATLAB Drive. These files will automatically appear in MATLAB Online.
This way, you can always be using the latest version of the file no matter how you access it - MATLAB Online, MATLAB Mobile, or MATLAB Desktop.

1 Comment

Update: As part of the R2023a release, the Upload option was removed. See this answer for updated instructions on adding a folder.

Sign in to comment.

Cris LaPierre
Cris LaPierre on 18 Jan 2021
Moved: Cris LaPierre on 25 Sep 2024
In the latest version of MATLAB Drive online. you can add a folder. This is in drive only. You can still only add files in MATLAB Online.

3 Comments

how can i add a entire folder containing images pls answer me
The file system of MATLAB Online is MATLAB Drive. If you go to drive.matlab.com, you can add an entire folder there, either with the Upload button, or drag and drop. Once added here, it will be immediately available in MATLAB Online.
Thanks

Sign in to comment.

There is an icon on the left corner before home or plot, click that will move you to main page wth folders and file. At the bottom got view files, just click on it. It will open a page where you can see all icons for upload files or folder. Then upload your files or folder there...done
if you are using the MATLAB online and the problem is to bring a file from your device to MATLAB online, then only solution that I know is ..
  1. GO to home tab of MATLAB online, select the upload and then it will aumatically direct you to select any file from your device and you select the required one that you want in MATLAB online and that's it.

2 Comments

Hi Sanchita Malla
I did the same to upload the images to MATLAB online and i am successful.
BUT problem with me is that when i do imshow in Script window, the image is coming corrupted though in preview in Current folder, it is showing the image Clean.
Please help
@Khushboo Singla please create a new post with your question. Asking a new question on an old post is not the best way to get noticed.

Sign in to comment.

All you have to do is press "New" and then select "Script". Choose a name for your new script, and the next interface you see should be more familiar to you.

2 Comments

Sorry, I did that but didn't find anything different. Simply dragging and dropping files on the folder pane worked for me. But still can not transfer whole folders.

Sign in to comment.

May be it is not possible to load file onto the online matlab simulator. I am trying it using load command,but there is an error: No such file or directory.
I didn't find any option for uploading my code

1 Comment

You can drag/drop your files into the Files pane in MATLAB Online, or use MATLAB Drive, where you will see an Upload button. MATLAB Drive is the file system used in MATLAB Online.
You can sync MATLAB Drive locally using MATLAB Drive Connector. They, you can just add the files to your local MATLAB Drive folder, and once they sync, they will be available in MATLAB Online.

Sign in to comment.

Communities

More Answers in the  Distance Learning Community

Categories

Asked:

on 10 Apr 2015

Commented:

on 16 Jan 2026

Community Treasure Hunt

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

Start Hunting!