matlab结果保存,如何将Matlab输出结果另存?

Matlab的xlswrite函数用于将数值数组或单元格数组存储到Excel工作簿。它接受文件名、数组、工作表名和范围作为参数,允许将数据写入指定的工作表和区域。如果未指定范围,则默认从A1开始。若Excel不在,数据将以CSV格式保存,忽略工作表和范围参数。
摘要由CSDN通过智能技术生成

help xlswrite:

help xlswrite

XLSWRITE Stores numeric array or cell array in Excel workbook.

[SUCCESS,MESSAGE]=XLSWRITE(FILE,ARRAY,SHEET,RANGE) writes ARRAY to the Excel

workbook, FILE, into the area, RANGE in the worksheet specified in SHEET.

FILE and ARRAY must be specified. If either FILE or ARRAY is empty, a

error is thrown and XLSWRITE terminates. The first worksheet of the

workbook is the default. If SHEET does not exist, a new sheet is added at

the end of the worksheet collection. If SHEET is an index larger than the

number of worksheets, new sheets are appended until the number of worksheets

in the workbook equals SHEET. The size defined  by the  RANGE should fit the

size of ARRAY or contain only the first cell, e.g. 'A2'. If RANGE is larger

than the size of ARRAY, Excel will fill the remainder of the region with

#N/A

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值