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

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 个评论

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.
Use the unzip command in MATLAB Online to extract the folder

请先登录,再进行评论。

回答(5 个)

Compress it to a zip file then upload it. Matlab will allow it and prompt you to uncompress it after it is uploaded.

1 个评论

correction: open a matlab window afte uploading and type in "unzip machine-learning-ex.zip"

请先登录,再进行评论。

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.
  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
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.

社区

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by