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


Antworten (1)
交感神経優位なあかべぇ
am 8 Jan. 2026 um 14:00
Constantブロックの定数値を[0 1]から、int32([0 1])に変更すれば、実行できると思います。
2 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!