How to write a value with zeros before the value in matlab?
Show older comments
Dear,
how to write/print a value with zeros before the value by the sprintf function, e.g., writing/printing the following form;
test_007120128O.nc
data_013587626O.nc
Regards,
Accepted Answer
More Answers (1)
Farshid Daryabor
on 14 Nov 2016
0 votes
1 Comment
Adam
on 14 Nov 2016
Please add as a comment to an answer rather than a new answer as it is less confusing.
Categories
Find more on Loops and Conditional Statements 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!