structure-without-time 形式
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Simulinkにて from warkspaceブロックのデータ反復入力機能を使用したいのです。 データタイプがマニュアルによると、structure-without-time 形式出ない場合、エラーとなる とのことですが、structure-without-time 形式データはどのように生成すれば宜しいでしょうか。
0 comentarios
Respuestas (1)
Naoya
el 19 de Feb. de 2018
時間なしの構造体については、下記例のように作成することができます。 (時間付き構造体の time の情報が空に設定された状態となります)
例
>> simin.signals.values = rand(11,2);
>> simin.signals.dimensions = 2;
>> simin.time = [];
なお、From Workspace 側のサンプリング時間の設定は、明示的に離散のサンプル時間を設定する必要があります。 (連続信号では対応していませんのでご注意ください)
Ver también
Categorías
Más información sobre Sources en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!