num2ascii

版本 1.0.2 (1.7 KB) 作者: Curtis
Converts a number into an array of ASCII values compatible with code generation. %#codegen
626.0 次下载
更新时间 2018/7/19

查看许可证

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.

引用格式

Curtis (2024). num2ascii (https://www.mathworks.com/matlabcentral/fileexchange/46815-num2ascii), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.2

Cleaned up documentation

1.0.1

Handled errors resulting from values less than 1 and other edge cases.

1.0.0.0