num2ascii
Versione 1.0.2 (1,73 KB) da
Curtis
Converts a number into an array of ASCII values compatible with code generation. %#codegen
The function was created for use with a serial LCD like the Parallax LCD 27977 or Adafruit LCD 782 and a serial port or text base data format like JSON or XML. This function is useful in code generation environments like Simulink Real-Time and Embedded Coder.
The number of integer digits and decimal digits can be specified with zero padding.
This function fills the gap since the built-in num2str function does not support code generation.
Cita come
Curtis (2026). num2ascii (https://it.mathworks.com/matlabcentral/fileexchange/46815-num2ascii), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2012b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
