- What does "I apply the smart indent" exactly mean?
- How does the "large indent" look like? We cann guess, what you see.
- Which preferences options did you set?
- What does "open a new file" mean - create or open an existing file?
- What does "freeze" mean exactly?
- Which Matlab/OS versions are you using?
- Did it work before any specific update and/or installation?
- "Nothing works"?!
How do i remove wide indents in MATLAB script editor ?
112 views (last 30 days)
Show older comments
I am facing the wide indent problem in script editor.
Even though i apply the smart indent, it still shows a large indent of the statements
I tried preferences options, but the problem still persists.
However, it does not happen when i open a new file ?
When i click on wrap comments, it freezes Matlab !!! nothing works,
2 Comments
Jan
on 22 Nov 2018
Please explain the details:
Accepted Answer
Image Analyst
on 22 Nov 2018
Type control-a (to select all code), then control-i (to fix the indenting). You can set up how many spaces a tab corresponds to in the preferences.
If things are still not aligned properly then you have probably forgotten an "end" somewhere.
3 Comments
More Answers (0)
See Also
Categories
Find more on Environment and Settings 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!