MATLAB Answers

fid =fopen returns -1 when creating a new file

2 views (last 30 days)
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?

Accepted Answer

Bhaskar R
Bhaskar R on 24 Feb 2020
Edited: Bhaskar R on 24 Feb 2020
You forgot the coma
  1 Comment
Dominick Shinal
Dominick Shinal on 24 Feb 2020
Ah you hate to post the question only to hear that you missed a coma

Sign in to comment.

More Answers (0)


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!