- Alt + Arow Keys
- Alt + Shift + Arrow Keys
How to write in multiple lines simultaneously in Matlab Editor ?
    167 views (last 30 days)
  
       Show older comments
    
I have seen the new funcionalities in version 2021b and it appears that you can put the cursor in multiples lines for writing code.
1 Comment
  Abdullah
 on 22 Feb 2025
				
      Moved: Walter Roberson
      
      
 on 22 Feb 2025
  
			is multi-line editing available in 2019a ? 
I've tried methods like: 
Answers (1)
  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!
4 Comments
  Marcelo Moraes
      
 on 16 Feb 2023
				
      Edited: Marcelo Moraes
      
 on 16 Feb 2023
  
			I support Christopher's request.
Shift+Alt+Arrow(up or down), like Notepadd++ is infinitely better than using mouse.
Is it possible to configure this feature as a user-defined shortcut?
  John D'Errico
      
      
 on 16 Feb 2023
				By the way, Answers is not official technical support. There is no reason for The MathWorks to be watching your requests here, even if you think you are talking to The MathWorks directly.
If you have a suggestion, submit it as a feature request.
See Also
Categories
				Find more on Entering Commands 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!





