'latex' is invalid for 'port_label' drawing command parameter 'Interpreter' in block '.....'
조회 수: 4 (최근 30일)
이전 댓글 표시
I created and masked a subsystem in MATLAB Simulink, I want to label one of the output port with Latex expression using the following command:
port_label('output',1,'\dot{\theta}(t)','Interpreter','latex')
But it gives me the following error message:
'latex' is invalid for 'port_label' drawing command parameter 'Interpreter' in block '.....'
How can I label an output or input of a subsystem using 'Interpreter'. More specifically, How can I use the latex symbol '\dot{}' which represent the first derivative of a variable?
댓글 수: 3
Walter Roberson
2016년 11월 20일
I found a number of places where port_label was used but no definition of it.
Hmmm, the reference I just found suggests that it is handled by set_param. Unfortunately that is a built-in so I cannot examine the source.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Author Block Masks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!