Using LaTeX math in Simulink Block Name

31 Ansichten (letzte 30 Tage)
Kshitij Kabeer
Kshitij Kabeer am 21 Sep. 2020
Beantwortet: Ameer Hamza am 21 Sep. 2020
I would like to use LaTeX (or similar) math formulaes for the block names in my simulink project. However, when I click the name of a block to edit it, the Enable Equations button () (in the Font and Paragraph Section, Format tab) is greyed out. How do I enable equations? I want to give names like to constant blocks, so they are easier for me to remember which is which. Basically, I want this name under the block to display correctly.
I am using Matlab R2020a for linux.

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 21 Sep. 2020
The latex is only allowed in the annotations, not the block names. An alternate method is to create an annotation using latex and associate it with the block described here: https://www.mathworks.com/help/simulink/ug/annotations.html#buftyl8. That annotation will be associated with that particular block, and you can use that annotation as the name of the block.

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by