Error when trying to write in an external file
Afficher commentaires plus anciens
In the workspace when I do:
>> fid = fopen('aa.txt', 'w');
>> fprintf(fid, 'test \n');
the answer is:
Error using fprintf
Invalid file identifier. Use fopen to generate a valid file identifier.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Search Path dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!