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

2024-11-18 06:22:30
推荐回答(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 好像是这个函数