Open a txt file written with dlmwrite
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Kendra Wright
il 18 Nov 2014
Risposto: Kendra Wright
il 18 Nov 2014
I've written a rather large txt file using the dlmwrite() function. Now I'm trying to open the file and read it so I can plot the data. I'm getting an error trying to use fopen(). I've looked through the documentation for fopen() and found that it returns -1, which means it's unable to open it, but it's not clear why. I'm able to open the file fine with excel or notepad. What are some reasons that fopen will fail?
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Low-Level File I/O in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!