MATLAB How to load data from the example supplied on MATLAB website?

AI Thread Summary
The discussion revolves around the confusion regarding the availability of the file dowPortfolio.xlsx mentioned in a MATLAB tutorial. Initially, users were uncertain about how to download the file, questioning if it was included with MATLAB. It was clarified that users can directly copy the command T = readtable('dowPortfolio.xlsx'); into the MATLAB command window, which allows the execution of the command without needing to download the file separately. Additionally, it was noted that this file is commonly used in various MathWorks examples to demonstrate different MATLAB features, suggesting it is included with MATLAB installations.
member 428835
The demo here doesn't specify how to download the file dowPortfolio.xlsx from the first line in the tutorial: T = readtable('dowPortfolio.xlsx');

Any help here (please tell me it's not just me)?

Nevermind, evidently you literally can just copy that line into the command window and MATLAB executes it. How is this? Presumably this .xlsx file comes shipped with MATLAB?
 
Physics news on Phys.org
That sounds right.
I notice that there are many MATLAB example from MathWorks that use that same file ro demonstrate different MATLAB features..
 
  • Like
Likes member 428835

Similar threads

Back
Top