MATLAB Answers

How do I upload an excel file in matlab online

163 views (last 30 days)
Stephen Clark
Stephen Clark on 5 Aug 2017
Answered: Hisham on 10 Aug 2017
I want to upload an excel file with headers and a mixture of strings and numbers into Matlab online or Matlab drive. I am using a work computer so cant install any software on the computer.

Answers (3)

Alex Karle
Alex Karle on 7 Aug 2017
Hi Stephen,
To upload an excel file so that you have access to it on MATLAB Online, you need to upload the file to MATLAB Drive.
You can access MATLAB Drive on the web without installing anything here:
An upload should be as simple as clicking the 'upload' button after logging in, but if you have other questions regarding files that can be uploaded, look here:
Once you have uploaded your excel file, simply go to MATLAB Online ( https://matlab.mathworks.com/) and that file should be visible in the file tree on the left. You can then load it into your MATLAB workspace using the function xlsread.
I checked that this works with a simple excel file.
Hope this helps!

Gopeshh Raaj
Gopeshh Raaj on 7 Aug 2017
In order to upload an excel file into MATLAB online, first you need to go to "https://drive.matlab.com" using your Mathworks account credentials. You will find an upload option there to upload your files. You can upload any files here. Please refer to the link attached below if you have further questions.

Hisham
Hisham on 10 Aug 2017
Hi Stephen:
There are multiple ways that you can upload files into MATLAB Online:
1) You can drag and drop the file into the Current Folder Browser in your MATLAB Online session. This will upload the file into what ever folder you are exploring in the CFB at the time.
2) You can also drag and drop your file into MATLAB Drive online, as indicated by Alex and Gopeshh above
Hope this helps!
Hisham

Products

Community Treasure Hunt

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

Start Hunting!

Translated by