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.
MATLAB: How to apply “smart indent” to a file programmatically
apieditorMATLABsmart indent
Best Answer