I have written and ran a code,I got the output as a matrix.Now to use the matrix in a software, I need to generate a .csv file of the matrix.What should be done?

 Accepted Answer

Shashank Sharma
Shashank Sharma on 19 Jun 2019

0 votes

Documentation for writematrix function, writematrix(A,filename) here A is the matrix and filename is the name of the .csv file you want to save it to.
This is another possible function, but it is not recommended by matlab.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products

Release

R2019a

Community Treasure Hunt

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

Start Hunting!