display latex in mask help dialog

21 次查看(过去 30 天)
Brian Wilson
Brian Wilson 2019-2-6
评论: Brian Wilson 2025-2-18,18:36
When masking a subsystem and filling out the "Description" field of the block on the "Documentation" tab, is there a way to have the description display latex or tex strings?

回答(1 个)

Akanksha
Akanksha 2025-2-17,6:54
Kindly refer to the following steps to resolve the query :
  1. Add supported TeX commands to your annotation. For example, add this text: \sigma \kappa \mu
  2. With the annotation selected, right click on the annotation block, select Properties, and under the General tab, checkEnable TeX commands.
  3. Once you click outside the annotation, the TeX commands appear as symbols within the annotation.
For more information on the supported TeX characters, please refer to the table "Supported TeX Characters" under "Add Symbols to Text Annotations" here - https://www.mathworks.com/help/simulink/ug/annotate-models.html
Output :
Hope this helps. Thank you.
  1 个评论
Brian Wilson
Brian Wilson 2025-2-18,18:36
Right, but that is for annotating models. I want latex in the description field of a masked subsystem
for example, in 2023B, click on subsystem, and add mask. then, in the mask editor, under parmeters and diaglog, click, add documentation. Here i typically have a description about the functionality, describe the parameters and the input and output variables. Is there any way to get latex to display here?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Create Block Masks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by