Write changing string format into txt file
Show older comments
Hey! I would like to write into a txt file, the location of my working directory.
I tried the function fprintf (or sprintf) but the problem is that I can't define a fixed format (with strings backlslash and integers) when I am using fprintf (or sprintf) because the format is changing when the working directory is changing!
Thanks for the help.
Accepted Answer
More Answers (0)
Categories
Find more on Search Path 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!