simulinkの入力データのデータ型について
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
simulinkモデルへの入力データをtimeseriesを使って作成するとdouble型になりますが、
これをsingle等、他の型に変更することは可能でしょうか?
0 Kommentare
Antworten (1)
Toshinobu Shintai
am 8 Jan. 2021
timeseriesデータの値をsingleなどのデータ型で作ると、そのままそのデータ型でSimulinkで扱うことができます。添付のモデルをご確認ください。
MATLABのコマンドで数値を特定のデータ型にするには、「single()」や「int32()」という関数を使うと変換することができます。
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!