How to write percentage sign into a txt file
Show older comments
I'm trying to generate an html file using fprintf. The issue is that % is causing lots of issues, because it is used by the system to detect the type of the info (integer, text, etc.). So how do I get around the issue?
fprintf(fid, '<td width="20%">%s</td>\n', B{i,2});
1 Comment
Accepted Answer
More Answers (0)
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!