Clear Filters
Clear Filters

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

5 views (last 30 days)
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 ?

Answers (0)

Categories

Find more on Modeling 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!