How to write in multiple lines simultaneously in Matlab Editor ?

208 views (last 30 days)
Iván de la Fuente Trinidad
Commented: Walter Roberson on 21 Oct 2021
I have seen the new funcionalities in version 2021b and it appears that you can put the cursor in multiples lines for writing code.

Answers (1)

Michael Zauner
Michael Zauner on 21 Oct 2021
This feature works only in adjacent lines.
Hold down the 'Alt' Key and drag over multiple lines with the mouse.
You should then see multiple highlighted characters.
This feature only works on Matlab 2021b!
  1 Comment
Walter Roberson
Walter Roberson on 21 Oct 2021
if I recall correctly it worked in Livescript for a version before that, but I do not recall when it was introduced in Livescript.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!