structure-without-time 形式
Ältere Kommentare anzeigen
Simulinkにて from warkspaceブロックのデータ反復入力機能を使用したいのです。 データタイプがマニュアルによると、structure-without-time 形式出ない場合、エラーとなる とのことですが、structure-without-time 形式データはどのように生成すれば宜しいでしょうか。
Antworten (1)
Naoya
am 19 Feb. 2018
時間なしの構造体については、下記例のように作成することができます。 (時間付き構造体の time の情報が空に設定された状態となります)
例
>> simin.signals.values = rand(11,2);
>> simin.signals.dimensions = 2;
>> simin.time = [];
なお、From Workspace 側のサンプリング時間の設定は、明示的に離散のサンプル時間を設定する必要があります。 (連続信号では対応していませんのでご注意ください)
1 Kommentar
Keisuke goto
am 20 Feb. 2018
Kategorien
Mehr zu Sources finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!