How to apply "smart indent" to a file programmatically
Show older comments
I have wrote a function that writes other functions. I want to now apply smart indent to the file to improve the aesthetics of the created function by aligning if_ends,etc. How can I do this programmaticly instead of the usual 'right-click' and select method as if programming manaually.
Accepted Answer
More Answers (1)
Jason Ross
on 12 Jul 2011
1 vote
You might want to check out these blog posts:
1 Comment
Gary
on 11 Dec 2025
Links are broken
Categories
Find more on Simulink Environment Customization 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!