Error using audiowrite function in 2016b: Expected a string scalar or character vector for the parameter name, instead the input type was 'double'.

the error:
Error using audiowrite
Expected a string scalar or character vector for the parameter name, instead the input
type was 'double'.
Error in audiowrite>parseInputs (line 226)
parse(p,filename, y, Fs, pvpairs{:});
Error in audiowrite (line 103)
props = parseInputs(filename, y, Fs, varargin);
Error in matchLTAS (line 24)
audiowrite(['LTASNORM_' wavenames{i}],output{i},fs,16);%write new wave file

 採用された回答

audiowrite(['LTASNORM_' wavenames{i}], output{i}, fs, 'BitsPerSample', 16);

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by