How can I give the output into a text file?

2 次查看(过去 30 天)
Hi, I have written the code and it works perfectly and now I need to put the output module into a txt file or excel file. Can anyone help? I keep getting errors like:
Invalid file identifier. Use fopen to generate a valid file identifier. I tried file = fopen('test.txt','w');

采纳的回答

Yuvaraj Venkataswamy

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by