[Product Feedback] Automatically changing parentheses type?

7 views (last 30 days)
Let's say I have some code...
function bar = fu()
bar{1,1:3} = mat2cell(ones(1,3), [1], [1 1 1])
end`
...and I realize that I can represent "bar" as a matrix array than as a cell array. I personally feel like when I replace one of the curly braces, Matlab should ask me if I want to change the matching one via a 'tab' command. Just a thought.

Answers (0)

Categories

Find more on Characters and Strings 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!