Why do my line spacing settings revert from "compact" back to "loose" on macOS 10.15 in MATLAB R2020b?

5 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 24 Jan. 2025
Bearbeitet: MathWorks Support Team am 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:

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by