fopen only returns -1
Mostra commenti meno recenti
Hi,
I'm trying to read some files (wave-files, but I also tried text) with fopen, but it always returns -1, ie. there is an error. It worked fine when selecting a .m-file. What am I forgetting? I use
fopen(uigetfile)
Edit:
It seems to have to do with the uigetfile. When I enter the path directly, it works fine. However, I don't understand, why, since I do select the specific path with uigetfile, don't I?
Risposta accettata
Più risposte (1)
Anke Kügler
il 16 Apr 2016
0 voti
Categorie
Scopri di più su App Building in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!