システムが途中から実行されなくなる件について

1 回表示 (過去 30 日間)
一秀 近藤
一秀 近藤 2022 年 10 月 24 日
コメント済み: 一秀 近藤 2022 年 10 月 25 日
音声をデバイスリーダーで入力し、そのデータをwavファイル化を行いました。そしてワークスペースにインポートしパワースペクトルの計算を行うシステムを作成しました。
しかし、ワークスペースに音声データをベクトルの形で入力することはできたのですが、その先のパワースペクトル計算の実行がされずにシステムが終了してしまいます。簡単なことで申し訳ございません。ご教授いただければ幸いです。

採用された回答

Kojiro Saito
Kojiro Saito 2022 年 10 月 25 日
soundsave1.mlxにyamnetがインストールされていないというエラーが出ています。
使い方によるエラー yamnet
Unable to access the pre-trained network. Make sure the required files are installed. Download and unzip the zip file to a location on the MATLAB
path.
エラー: classifySound (行 148)
net = yamnet();
yamnet のドキュメントにあるように、yamnet.zipのダウンロードとMATLAB検索パスへの追加が必要です。
downloadFolder = fullfile(tempdir,'YAMNetDownload');
loc = websave(downloadFolder,'https://ssd.mathworks.com/supportfiles/audio/yamnet.zip');
YAMNetLocation = tempdir;
unzip(loc,YAMNetLocation)
addpath(fullfile(YAMNetLocation,'yamnet'))
  1 件のコメント
一秀 近藤
一秀 近藤 2022 年 10 月 25 日
ご回答ありがとうございます。
yamnetを削除したところスムーズにシステムが作動しました。

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

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!