Separate Digits from a single number in Simulink

Separate Digits from a single number in Simulink

You are now following this Submission

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://uk.mathworks.com/matlabcentral/fileexchange/52015-separate-digits-from-a-single-number-in-simulink), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Binary Stopwatch with Arduino

Categories

Find more on General Applications in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0.0

Added decimals, Updated title

1.0.0.0