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

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

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Pretrained Models in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!