How can I give the output into a text file?

2 views (last 30 days)
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');

Accepted Answer

Yuvaraj Venkataswamy
Yuvaraj Venkataswamy on 10 May 2018

More Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!