M file problem - spacing

Hello Experts,
I have a matlab m-file, when I write for of if and hit enter it doesn't automatically do space. How do I correct it?

 Accepted Answer

Sean de Wolski
Sean de Wolski on 6 Oct 2011

0 votes

Highlight and click "Smart indent"?

More Answers (0)

Categories

Find more on Get Started with MATLAB 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!