[Product Feedback] Automatically changing parentheses type?

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.

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDesktop についてさらに検索

製品

質問済み:

2015 年 6 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by