Error when trying to write in an external file
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Search Path 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!