How do you set the default annotation properties?
Show older comments
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?
Answers (1)
Walter Roberson
on 9 Jan 2018
Edited: Walter Roberson
on 9 Jan 2018
set(groot,'defaultTextHorizontalAlignment', 'center')
You will want to put this into your startup.m
2 Comments
Walter Roberson
on 10 Jan 2018
Sorry, I do not know anything about how Simulink creates annotations.
Categories
Find more on Programmatic Model Editing 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!