display latex in mask help dialog
21 次查看(过去 30 天)
显示 更早的评论
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
2025-2-17,6:54
Kindly refer to the following steps to resolve the query :
- Add supported TeX commands to your annotation. For example, add this text: \sigma \kappa \mu
- With the annotation selected, right click on the annotation block, select “Properties”, and under the “General” tab, check “Enable TeX commands”.
- 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
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 Center 和 File Exchange 中查找有关 Create Block Masks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!