【发布时间】:2020-08-23 17:01:16
【问题描述】:
sname='Sheet1';
startingColumn='A';
nextRow='1';
filename = 'C:\Users\vvb\Documents\New\ltp.xlsx';
ltp_hist_uper=hist(ltp_uper,10);
ltp_hist_lower=hist(ltp_lower,10);
ltp_full=[ltp_hist_uper ltp_hist_lower]; % contatinate both uper and lower vectors
range=sprintf('%s%d',startingColumn,nextRow);
writematrix(ltp_full,filename,sname,range);
我已下载此代码用于从音频文件中提取特征并将这些特征存储在 Excel 中的矩阵中,但 writematrix 命令引发错误,即参数名称无效:Sheet1。
【问题讨论】: