如何将MATLAB运算结果的数据输出到EXCEL中

2024年11月18日 06:22
有2个网友回答
网友(1):

你愿意用csvwrite吗,保存成csv文件,一样默认用Excel打开

csvwrite
Write a comma-separated value file
Syntax
csvwrite('filename',M)
csvwrite('filename',M,row,col)
Description
csvwrite('filename',M) writes matrix M into filename as comma-separated values.
csvwrite('filename',M,row,col) writes matrix M into filename starting at the specified row and column offset.
The row and column arguments are zero-based, so that row=0 and C=0 specifies the first value in the file.

网友(2):

xlswrite 好像是这个函数