Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Color parentheses groups in MATLAB's IDE

Tags:

matlab

Is there a way to make Matlab color matching parentheses?

A = max(B(:,3))

where the function parentheses for max() should have the same color, as well as the indexing parentheses B(:,3) having a different one.

like image 795
Gappy Hilmore Avatar asked Oct 23 '25 22:10

Gappy Hilmore


1 Answers

Well this is not a full answer to the question, but it made me change one of my settings, so for what it's worth:

By default in MATLAB editor when you click on a parenthesis, an underscore appears under this parenthesis and the matching one. This can be changed in the settings so that instead of having an underscore, your matching parenthesis will be highlighted, which I find clearer:

Preferences

Select "Highlight" for the "Match on arrow key" option.

It's gonna look like that:

demo

like image 122
BillBokeey Avatar answered Oct 27 '25 00:10

BillBokeey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!