How do I get a "≤" sign to appear in my function's HELP documentation?

1 次查看(过去 30 天)
How do I get a "≤" sign to appear in my function's HELP documentation? I am using 2016b. All that shows up is a "?"
  3 个评论
Richard Lyman
Richard Lyman 2021-7-28
编辑:dpb 2021-7-28
methods (Static)
function obj = move(x0,x3,xd0,xd3,xdmax,xddacc,xdddec,press_lim)
%sseg.move
% ≤
>> help sseg.move
sseg.move
?

请先登录,再进行评论。

回答(2 个)

dpb
dpb 2021-7-28
  9 个评论
DGM
DGM 2021-7-29
LE should be UTF-8 0xE289A4, UTF-16 0x2264, or CP437 0xF3
I don't know about CP1252

请先登录,再进行评论。


Walter Roberson
Walter Roberson 2021-7-29
<= is not part of CP1252
I am using 2016b
In that release, MATLAB did not use UTF-8 for .m files unless you took specific steps (which even if you took, your co-workers probably have not taken.)
I have seen several cases posted in which the exact same code (file was attached) on the exact same version of MATLAB for windows, had characters come out differently.. having to do with the installed fonts on the Windows machines.

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

产品


版本

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by