'latex' is invalid for 'port_label' drawing command parameter 'Interpreter' in block '.....'

3 ビュー (過去 30 日間)
Aman Jacknoon
Aman Jacknoon 2016 年 11 月 20 日
コメント済み: Walter Roberson 2016 年 11 月 20 日
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 件のコメント
Aman Jacknoon
Aman Jacknoon 2016 年 11 月 20 日
Thanks Mr. Walter Roberson for your response.
I have tried 'interp' instead of 'Interpreter', but both didn't work for me.
Walter Roberson
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 ExchangeAuthor Block Masks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by