Output variables of different Class to csv or xls file.

1 view (last 30 days)
Hello
I have a few variables that I would like to output to a .csv or .xls file but am having difficulty accomplishing this.
The variables are ppt_per which is a double, Binning which is a class, and V_per which is a double
I'd like it to be in columns like the following....
If anyone could help me with this I would appreciate it very much.
Thank you.

Accepted Answer

Vilém Frynta
Vilém Frynta on 9 Feb 2023
Have you tried using writematrix()?
Works usually the best.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!