How do you set the default annotation properties?
显示 更早的评论
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?
回答(1 个)
Walter Roberson
2018-1-9
编辑:Walter Roberson
2018-1-9
set(groot,'defaultTextHorizontalAlignment', 'center')
You will want to put this into your startup.m
2 个评论
Walter Roberson
2018-1-10
Sorry, I do not know anything about how Simulink creates annotations.
类别
在 帮助中心 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!