fid =fopen returns -1 when creating a new file
4 views (last 30 days)
Show older comments
Dominick Shinal
on 24 Feb 2020
Commented: Dominick Shinal
on 24 Feb 2020
fid=fopen('pressure_output.txt''w')
I'm trying to have this create a new file with the given name. The return value for fid is -1. How would I go about creating a new file this way?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Low-Level File I/O 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!