How do I collapse sections in Matlab 2017b?

97 ビュー (過去 30 日間)
KTRO
KTRO 2017 年 11 月 9 日
コメント済み: KTRO 2017 年 11 月 9 日
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);

採用された回答

Steven Lord
Steven Lord 2017 年 11 月 9 日
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.
  1 件のコメント
KTRO
KTRO 2017 年 11 月 9 日
Yes! Thank you! I was hunting for this box to check.

サインインしてコメントする。

その他の回答 (0 件)

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by