Why does NUM2STR ignore the width specifier in MATLAB 7.8 (R2009a)?
Show older comments
When I use a format specifier with NUM2STR, it ignores the width specifier. For example the following code returns '1.345' instead of ' 1.345'.
s = num2str(1.345, '%10.3f')
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Check in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!