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

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

Accepted Answer

Kojiro Saito
Kojiro Saito on 25 Oct 2022
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 Comment
一秀 近藤
一秀 近藤 on 25 Oct 2022
ご回答ありがとうございます。
yamnetを削除したところスムーズにシステムが作動しました。

Sign in to comment.

More Answers (0)

Categories

Find more on Pretrained Models in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!