フィルターのクリア

error "Too many output arguments."

1 回表示 (過去 30 日間)
ZHU z
ZHU z 2022 年 5 月 15 日
コメント済み: ZHU z 2022 年 5 月 15 日
Can anyone help me? My code is the kit(AppSoundLevelMeter) and it shows the following error, how can I fix it?
thanks a lot!
Error using audioread
Too many output arguments.
Error in sound_acquisition (line 34)
[signal_ref,Fs_ref,Nbits_ref]=audioread('Calibracion_94dB_1Khz_CEntrance_NTiAudio.wav');
The relevant codes are as follows:
%% Default Calibration %%
elseif s.Calibration.calibrate==0
if s.Signal.device==0
[signal_ref,Fs_ref,Nbits_ref]=audioread('Calibracion_94dB_1Khz_CEntrance_NTiAudio.wav');
elseif s.Signal.device==1
[signal_ref,Fs_ref,Nbits_ref]=audioread('Calibracion_94dB_1Khz_Art_Behringer.wav');
end
p_94dBSPL=1; %%94 dBSPL equivalen a 1 pascal
s.Calibration.Signal_Calibration=signal_ref;
s.Calibration.p_pascal_ref=p_94dBSPL;
disp('Calibraci髇 por defecto: OK');
end
%%%%%%%%%%%%%%%%%%%%%%%%
Also, I've attached this interesting sound level meter kit.
  2 件のコメント
Torsten
Torsten 2022 年 5 月 15 日
編集済み: Torsten 2022 年 5 月 15 日
My code is the kit(AppSoundLevelMeter) and it shows the following error, how can I fix it?
By reducing the number of output parameters of "audioread" from 3 to 2:
ZHU z
ZHU z 2022 年 5 月 15 日
thank you @Torsten!,i will study the link.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeOctave についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by