How do you set the default annotation properties?
Ältere Kommentare anzeigen
I recently migrated to a newer version of Matlab/Simulink. In the old version, the default annotation "HorizontalAlignment" was "center." In the newer version, the default is "left." How can I change my global defaults so that the annotation "HorizontalAlignment" property is "center" again?
Antworten (1)
Walter Roberson
am 9 Jan. 2018
Bearbeitet: Walter Roberson
am 9 Jan. 2018
set(groot,'defaultTextHorizontalAlignment', 'center')
You will want to put this into your startup.m
2 Kommentare
Walter Roberson
am 10 Jan. 2018
Sorry, I do not know anything about how Simulink creates annotations.
Kategorien
Mehr zu Programmatic Model Editing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!