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?

2 views (last 30 days)

Accepted Answer

Valeri Disko
Valeri Disko on 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

More Answers (0)

Categories

Find more on Portfolio Optimization and Asset Allocation in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!