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

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 ?

1 Comment

Hi,
I need exactly the same thing. Nobody out there who knows?
Best,
Oliver.

Sign in to comment.

Answers (0)

Categories

Find more on Aerospace Blockset in Help Center and File Exchange

Asked:

on 26 Nov 2015

Commented:

on 21 Feb 2019

Community Treasure Hunt

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

Start Hunting!