[Simulink]音のピッチをノブ等で変える際のエラーの対処方法
    5 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Hernia Baby
      
 el 12 de Jul. de 2021
  
    
    
    
    
    Respondida: takemoto
    
 el 13 de Jul. de 2021
            ■やりたいこと
 下図ブロック線図のようにノブを使ってピッチを変えたい
■課題
 nsemitonesを外部入力にするとエラーを起こす
■エラー内容
 コンポーネント: MATLAB Function | カテゴリ: Coder エラー
 すべての入力は定数でなければなりません。
-------------------------------------------------------------------------------------------------

(しかしながら、まだ内容理解できていません…)
よろしくお願いいたします。
0 comentarios
Respuesta aceptada
  takemoto
    
 el 13 de Jul. de 2021
        エラーの原因を調べ切れていませんが、シミュレーション中のピッチパラメータを可変とす例題としては、以下が使えそうです。
ブロックを置き換えると(添付)、実行中にピッチを変えることはできますが、いかがでしょうか?
0 comentarios
Más respuestas (0)
Ver también
Categorías
				Más información sobre Audio I/O and Waveform Generation en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!