How to share MATLAB Online generated CSV file with anyone?

5 views (last 30 days)
I have created a CSV file in MATLAB Online. The file is updated everytime I run the code. I want to get a public static link to this specific file so that anyone (with or without access to MATLAB) can view it. Is this possible? If not, what other alternatives do I have?
I don't want to have to download the file everytime I generate it and then upload it to some external service. It would be convenient if I could run my code with one command from my phone and have the results published automatically.
I would use the sendmail function but it's not available. I would send an email to my gmail account and then use a Google Script to publish the attached file as a Google Sheet CSV file.

Answers (1)

Kojiro Saito
Kojiro Saito on 21 Apr 2020
From MATLAB Online, you can share a file with others using MATLAB Drive.
First, create a folder and right click the folder, then go to "Share" -> "Create Link".
You can create a read-only URL link.
For accessing the file via that URL, MathWorks Account is necessary, but it does not care users can access to MATLAB or not.
For detail, please see the following document. Invitation Limits section is important because it explains the number of users who can access that shared folder.
  1 Comment
Ivan Gonzalez Bustos
Ivan Gonzalez Bustos on 22 Apr 2020
Edited: Ivan Gonzalez Bustos on 22 Apr 2020
Any way I can create a link to a single file? A public link that can be opened without any type of account whatsoever? Just a link to the file. Thinking of something like a github raw link.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!