parameter writerブロックを用いてconstantブロックのvalueにint32型のデータを書き込めない
Afficher commentaires plus anciens
parameter writerブロックを用いてconstantブロックのvalueにint32型のデータを書き込めません。
以下のモデルのように、constantブロックで[10 20]をint32型で定義し、この値をparameter writerで他のConstantブロック("Constant_block")に書き込もうとすると、警告が出て実行されません。
これを解決する方法を教えてください。


1 commentaire
和馬
le 8 Jan 2026
Réponses (1)
交感神経優位なあかべぇ
le 8 Jan 2026
0 votes
Constantブロックの定数値を[0 1]から、int32([0 1])に変更すれば、実行できると思います。
Catégories
En savoir plus sur イベント関数 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!