How can I print line numbers when I use the PUBLISH command in MATLAB?
Show older comments
I want line numbers printed next to each line of my function when I publish functions using the PUBLISH command.
I would like to see something like
001 function y = MyFunc(x)
002 y = x.^2;
003 end
Accepted Answer
More Answers (0)
Categories
Find more on App Building 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!