|
I’m experimenting with the code samples from the ‘Using MATLAB to Optimize Portfolios with Financial Toolbox’ demo. I downloaded the code and copied/pasted it into my standard Matlab path/directory.
I have the 7 m-files from the download in my standard Matlab directory (I didn’t copy over the readme text file). Also, I’m not exactly sure how to work with the MS Access shortcut named ‘BlueChipStocks’. So, for this one, I just clicked OpenFolder, selected this specific file, and clicked ‘Open’. Finally, I have 1 folder named ‘@PortfolioDemo’ and 2 m-files in there; ‘maximizeSharpeRatio’ & ‘PortfolioDemo’
When I run the ‘part1_intro’ or ‘part1_intro_plot’ m-code, I keep getting this error message:
Undefined function 'part1_intro_plot' for input arguments of type 'cell'.
Oh, one more thing, there were lots of NANs in the data file, so I deleted all columns with NANs. Before I didn this, nothing at all would work. After I did that, it still didn’t work correctly.
Can someone please tell me what I’m doing wrong here?
|