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

1 visualización (últimos 30 días)
Richard Lyman
Richard Lyman el 28 de Jul. de 2021
Respondida: Walter Roberson el 29 de Jul. de 2021
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 comentarios
Richard Lyman
Richard Lyman el 28 de Jul. de 2021
Editada: dpb el 28 de Jul. de 2021
methods (Static)
function obj = move(x0,x3,xd0,xd3,xdmax,xddacc,xdddec,press_lim)
%sseg.move
% ≤
>> help sseg.move
sseg.move
?

Iniciar sesión para comentar.

Respuestas (2)

dpb
dpb el 28 de Jul. de 2021
  9 comentarios
Richard Lyman
Richard Lyman el 29 de Jul. de 2021
Is it because of the 'IBM437' character set, which does have '≤'?
DGM
DGM el 29 de Jul. de 2021
LE should be UTF-8 0xE289A4, UTF-16 0x2264, or CP437 0xF3
I don't know about CP1252

Iniciar sesión para comentar.


Walter Roberson
Walter Roberson el 29 de Jul. de 2021
<= 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.

Categorías

Más información sobre Entering Commands en Help Center y File Exchange.

Productos


Versión

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by