Sometimes MATLAB can't create a Portfolio object. MATLAB 2019b. OS: Mac OS Catalina. The following command line fails to create it: p = Portfolio(). Any ideas why it happens?

1 Ansicht (letzte 30 Tage)

Akzeptierte Antwort

Valeri Disko
Valeri Disko am 26 Feb. 2020
Figured it out:
IF in Preferences->General:Help Improve MATLAB == checked
THEN in Mac System Preferences->Security&Privacy add MATLAB to "Full Disk Access"
ELSE Uncheck Help Improve MATLAB checkbox
END

Weitere Antworten (0)

Kategorien

Mehr zu Portfolio Optimization and Asset Allocation finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by