structure-without-time 形式
조회 수: 4 (최근 30일)
이전 댓글 표시
Simulinkにて from warkspaceブロックのデータ反復入力機能を使用したいのです。 データタイプがマニュアルによると、structure-without-time 形式出ない場合、エラーとなる とのことですが、structure-without-time 形式データはどのように生成すれば宜しいでしょうか。
댓글 수: 0
답변 (1개)
Naoya
2018년 2월 19일
時間なしの構造体については、下記例のように作成することができます。 (時間付き構造体の time の情報が空に設定された状態となります)
例
>> simin.signals.values = rand(11,2);
>> simin.signals.dimensions = 2;
>> simin.time = [];
なお、From Workspace 側のサンプリング時間の設定は、明示的に離散のサンプル時間を設定する必要があります。 (連続信号では対応していませんのでご注意ください)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!