Portfolio Optimization Using Factor Models file

3 ビュー (過去 30 日間)
Eduardo Orellana
Eduardo Orellana 2021 年 10 月 5 日
回答済み: Naga 2024 年 12 月 29 日 13:59
Hi, in the Portfolio Optimization Using Factor Models documentation site, "https://www.mathworks.com/help/finance/portfolio-optimization-using-factor-models.html", there is a "asset_return_100_simulated.mat" file that, when trying to load it in matlab I get,
Error using load
Unable to read file 'asset_return_100_simulated.mat'. No such file or directory.
I dont know if I can get the file from other source. Please help with that.
Thanks
  1 件のコメント
Eduardo Orellana
Eduardo Orellana 2021 年 10 月 19 日
Does anyone have the answer?
Greetings

サインインしてコメントする。

回答 (1 件)

Naga
Naga 2024 年 12 月 29 日 13:59
If you're having trouble loading the 'asset_return_100_simulated.mat' file in MATLAB, use the 'openExample' function to automatically open the example and download all necessary files in installed version of MATLAB. This ensures that you have the correct environment set up:
openExample('finance/PortfolioOptimizationUsingFactorModelsExample')
This command will open the example in MATLAB and ensure that all associated files are downloaded to your working directory.

カテゴリ

Help Center および File ExchangePortfolio Optimization and Asset Allocation についてさらに検索

タグ

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by