モデル参照 入力信号 配列
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Yuma Yamazaki
am 15 Mär. 2019
Beantwortet: Yuma Yamazaki
am 6 Jan. 2020
モデル参照を使用したいのですが、配列を入力信号とするとエラーになります。
こちらの解決方法はありますか?
![キャプチャ.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/208562/%E3%82%AD%E3%83%A3%E3%83%97%E3%83%81%E3%83%A3.png)
1 Kommentar
Akzeptierte Antwort
stozaki
am 31 Dez. 2019
既に解決されているかもしれませんが、原因は参照先のモデルの入力の次元が27×1になっていないためと思われます。
これは、モデル参照は、「モデル参照の境界で信号属性は伝播できない」という制限があるためです。
したがって、参照先モデル(子モデル)の入力ポートで明示的にデータ型や次元を設定して頂ければエラーは消えると思います。
他にもモデル参照をご利用頂く際の注意点が、例題付きで説明がございます。
併せてご確認頂けますでしょうか。
0 Kommentare
Weitere Antworten (3)
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!