Separate Digits from a single number in Simulink
Version 2.0.0.0 (19.4 KB) by
James
Separate Digits from a single number in Simulink
Just a simple function that separates a single number (also decimals) to its constituent digits.
For example, if the number is 4328.76,
The model separates this number to 6 digits/output signals: '4' , '3' , '2' , '8' , '7' and '6'.
Cite As
James (2026). Separate Digits from a single number in Simulink (https://in.mathworks.com/matlabcentral/fileexchange/52015-separate-digits-from-a-single-number-in-simulink), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on General Applications in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Binary Stopwatch with Arduino
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
