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 view (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

More Answers (0)


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

Community Treasure Hunt

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

Start Hunting!