How to gather code
    2 views (last 30 days)
  
       Show older comments
    
hello i would to gather the code as here:

a function automatically allows to gather the code (you can see "+" in the left). how can i do this in other ways?
0 Comments
Answers (2)
  Ilham Hardy
      
 on 9 Mar 2016
        Use double percentage signs %% to create a section on your code..
0 Comments
  per isakson
      
      
 on 9 Mar 2016
        
      Edited: per isakson
      
      
 on 9 Mar 2016
  
      See
- Code Folding — Expand and Collapse Code Constructs middle of the page and down
- Editor/Debugger Code Folding Preferences bottom of the page
0 Comments
See Also
Categories
				Find more on Results, Reporting, and Test File Management in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

