MATLAB Answers

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

119 views (last 30 days)
PALASH MONDAL
PALASH MONDAL on 13 Nov 2018
Edited: Rutul Patel on 13 Apr 2020
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

Sign in to comment.

Answers (3)

madhan ravi
madhan ravi on 13 Nov 2018
  2 Comments

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.
  1 Comment
Sergiojonathan Duque
Sergiojonathan Duque on 25 Jun 2019
correction: open a matlab window afte uploading and type in "unzip machine-learning-ex.zip"

Sign in to comment.


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.

Communities

More Answers in the  Distance Learning Community

Community Treasure Hunt

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

Start Hunting!