[Simulink]音のピッチをノブ等で変える際のエラーの対処方法
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hernia Baby
le 12 Juil 2021
Réponse apportée : takemoto
le 13 Juil 2021
■やりたいこと
下図ブロック線図のようにノブを使ってピッチを変えたい
■課題
nsemitonesを外部入力にするとエラーを起こす
■エラー内容
コンポーネント: MATLAB Function | カテゴリ: Coder エラー
すべての入力は定数でなければなりません。
-------------------------------------------------------------------------------------------------

(しかしながら、まだ内容理解できていません…)
よろしくお願いいたします。
0 commentaires
Réponse acceptée
takemoto
le 13 Juil 2021
エラーの原因を調べ切れていませんが、シミュレーション中のピッチパラメータを可変とす例題としては、以下が使えそうです。
ブロックを置き換えると(添付)、実行中にピッチを変えることはできますが、いかがでしょうか?
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!