Hi, I was going to delete the question but for letting others know as I will keep the question for helping others.
To fix ident code blocks in matlab, just do on your keyboard CTR+A then CTR+I , thanks.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!