How can I upload files from computer to Matlab Online?
Show older comments
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
Mariam Avagyan
on 13 May 2015
I have the same problem =(
Cris LaPierre
on 16 Oct 2020
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.

Peter de Goot
on 10 Apr 2023
Moved: Cris LaPierre
on 25 Sep 2024
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.
Cris LaPierre
on 10 Apr 2023
Moved: Cris LaPierre
on 25 Sep 2024
As part of the R2023a release, it was removed.
Clark
on 1 Sep 2023
My version of matlab works does not have the button(2023)
Fara
on 12 Mar 2024
I am facing the same difficulties as ther eis no upload buttons on the home tab
Cris LaPierre
on 25 Sep 2024
See this answer
Answers (9)
Devraj Priyadarshi
on 24 Feb 2020
15 votes
Upload your files to drive.matlab.com or something like this website and then you can access it from the online matlab website
5 Comments
Eduardo
on 28 Apr 2024
thank you
Uche
on 25 Sep 2024
Thank you! This worked for me.
Gabriela
on 14 Oct 2024
Thanks it worked
Anjali
on 20 Oct 2024
Thanks it works.
LAXMIPRIYA
on 23 Jan 2025
Thanks, it worked.
Cris LaPierre
on 12 May 2020
6 votes
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
Cris LaPierre
on 25 Sep 2024
Edited: Cris LaPierre
on 25 Sep 2024
Update: As part of the R2023a release, the Upload option was removed. See this answer for updated instructions on adding a folder.
Cris LaPierre
on 18 Jan 2021
Moved: Cris LaPierre
on 25 Sep 2024
4 votes
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
Ronald Reegan
on 20 Jul 2021
Moved: Cris LaPierre
on 25 Sep 2024
how can i add a entire folder containing images pls answer me
Cris LaPierre
on 20 Jul 2021
Moved: Cris LaPierre
on 25 Sep 2024
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.
Ekta
on 15 Jul 2022
Moved: Cris LaPierre
on 25 Sep 2024
Thanks
Raj
on 11 Jul 2023
3 votes
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
Sanchita Malla
on 16 Oct 2020
2 votes
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 ..
- 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
Khushboo Singla
on 21 Jun 2021
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
Cris LaPierre
on 21 Jun 2021
@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.
Matteo Alessandro
on 8 Dec 2016
0 votes
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
Ahmed Nirjhar Alam
on 27 Sep 2018
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.
Suman Navaratnarajah
on 29 Sep 2018
Thanks bro!It works..
Monique Ernst
on 7 Jan 2019
0 votes
how to upload a folder into matlab online?
Permvir Singh
on 3 Feb 2020
0 votes
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.
Muhammad
on 16 Jan 2026
0 votes
I didn't find any option for uploading my code
1 Comment
Cris LaPierre
on 16 Jan 2026
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.
Communities
More Answers in the Distance Learning Community
Categories
Find more on Platform and License in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!