How do I collapse sections in Matlab 2017b?
97 views (last 30 days)
Show older comments
Since upgrading to 2017b (Mac OS 10.11), I can't collapse sections of code. In earlier version of Matlab, there would be a small '-' symbol next to the %% which would allow for the section to be collapsed (and, when collapsed, a '+' symbol to expand). If I open the same code in the older version (2015b), the collapse/expand functionality is still there. Does it exist in 2017b?
%%Import Data
data = csvread('datafile.CSV');
date='2017_11_09_2';
%%Assign columns
D=data(:,1);
T_C=data(:,2);
T=T_C+273.15;
yield=data(:,3);
0 Comments
Accepted Answer
Steven Lord
on 9 Nov 2017
You had probably set the Code Folding preferences to allow you to fold Sections in the older release but that preference is not set in the newer release. See also the Code Folding section on this documentation page.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!