load CAPMuniverse load Error

조회 수: 8 (최근 30일)
Anonymous Anonymous
Anonymous Anonymous 2023년 5월 17일
댓글: Anonymous Anonymous 2023년 5월 22일
load CAPMuniverse Error:
load CAPMuniverse
Error using load
Unable to find file or directory 'CAPMuniverse'.
p1=Portfolio('AssetList',Aseets(1:12));
p2=estimateAssetMoments(p1,Data(:,1:12),'MissingData',true);
p3= setDefaultConstraints(p2);
plotFrontier(p3)
why this error appears??

채택된 답변

Joel Van Sickel
Joel Van Sickel 2023년 5월 22일
This is most likely caused by you not having the correct toolboxes installed to do this example. Do you have the financial toolbox installed?
  댓글 수: 2
Anonymous Anonymous
Anonymous Anonymous 2023년 5월 22일
Yes!
Anonymous Anonymous
Anonymous Anonymous 2023년 5월 22일
It's somehow solved! I searched in help about "CAPMuniverse" and open what I found in live script. Afterthat it appear that I have new directory (and data has been downloaded with it I think) and it worked!!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Financial Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by