How to upload folder in matlab online(htt​ps://matla​b.mathwork​s.com/)

36 views (last 30 days)
I'm coding in matlab online and the storage using Matlab Drive, matlab drive only support upload files not folder. So, how can i upload folder in matlab oned1.PNGrive
  2 Comments
Hisham
Hisham on 4 Jan 2019
Edited: Walter Roberson on 7 Mar 2019
Hi Palash:
You can install the MATLAB Drive Connector https://www.mathworks.com/products/matlab-drive.html#matlab-drive-connector on your machine, which will automatically syncronize your desktop with your MATLAB Drive. Another method is to create an archive of your folder (.zip) and extract it in MATLAB Online.

Sign in to comment.

Answers (5)

madhan ravi
madhan ravi on 13 Nov 2018
  2 Comments
PALASH MONDAL
PALASH MONDAL on 13 Nov 2018
Very complex to share it for Matlab drive in online. I'm not happy with that.
Hisham
Hisham on 4 Jan 2019
Edited: Hisham on 4 Jan 2019
Hi Palash:
The sharing feature has been updated in MATLAB Online (matlab.mathworks.com) and introduced in MATLAB Drive online. You can click here to learn more about it.

Sign in to comment.


Sergiojonathan Duque
Sergiojonathan Duque on 25 Jun 2019
Compress it to a zip file then upload it. Matlab will allow it and prompt you to uncompress it after it is uploaded.

Rutul Patel
Rutul Patel on 13 Apr 2020
Edited: Rutul Patel on 13 Apr 2020
Upload a '.zip' file in MATLAB drive and extract into desired folder using unzip() command.
Example:
Uploaded zip file name: 'testset.zip'
Destination folder where extracted files to be stored: 'dataset'
Matlab command: unzip('testset.zip','dataset');
Note: It may take some time to unzip the file depending upon the file size and number of elements.

Asimananda Khandual
Asimananda Khandual on 21 Feb 2022
  1. Create a New file in MATLAB online
  2. Drag and Drop your Zip file XXX.zip
  3. In command prompt type >> unzip XXX.zip

Karthikk Dhandapani
Karthikk Dhandapani on 14 Oct 2022
You can upload folders to MATLAB Online through https://drive.matlab.com/files/ . The files/folders you add here will automatically be updated in your MATLAB Online session.

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!