Output variables of different Class to csv or xls file.

조회 수: 3 (최근 30일)
Kcire L
Kcire L 2023년 2월 9일
답변: Vilém Frynta 2023년 2월 9일
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.

채택된 답변

Vilém Frynta
Vilém Frynta 2023년 2월 9일
Have you tried using writematrix()?
Works usually the best.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by