How can I programmatically get the default FontName of a Simulink block?

5 次查看(过去 30 天)
The font name of a Simulink block can be read by this command: get_param('myBlockName', 'FontName')
If the font name is equal to the default font settings it returns 'auto'. To know the exact font name, how can I programmatically get to the deafult fonts settings for the model ?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by