Why do my line spacing settings revert from "compact" back to "loose" on macOS 10.15 in MATLAB R2020b?
4 views (last 30 days)
Show older comments
MathWorks Support Team
on 19 Jan 2021
Edited: MathWorks Support Team
on 3 Feb 2025
I noticed in MATLAB R2020b that the MATLAB command window preferences found in "Preferences" -> "Command Window" ->"Text display" -> "Numeric display" -> "Compact" preference is not persistent. This setting periodically sporadically defaults back to "loose". There is no pattern related to when the setting reverts and it can occur within the same instance of MATLAB.
Accepted Answer
MathWorks Support Team
on 24 Jan 2025
Edited: MathWorks Support Team
on 3 Feb 2025
This happens if you modify the line spacing setting to be different from the MATLAB factory default setting, "loose". For instance, this issue can occur after changing the setting to "compact" and then making use of features that do not involve display at the command line or format (e.g., Live Editor).
As a workaround, create a user-defined startup script and add the following command to it:
format compact
For more information on creating a user-defined startup script, you can access the release-specific documentation by executing the following command in the MATLAB R2020b command window:
>> web(fullfile(docroot, 'matlab/ref/startup.html'))
Please follow the link below to search for the required information regarding the current release:
0 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown 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!