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

조회 수: 1 (최근 30일)
Richard Lyman
Richard Lyman 2021년 7월 28일
답변: Walter Roberson 2021년 7월 29일
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일
typing "help <function name>"
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
Richard Lyman
Richard Lyman 2021년 7월 29일
Is it because of the 'IBM437' character set, which does have '≤'?
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에서 Entering Commands에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by