how can store signal in real time for period time?

1 回表示 (過去 30 日間)
FRANCISCO JAVIER
FRANCISCO JAVIER 2013 年 2 月 4 日
I need collect the information of a period of time, for example, when a variable suffer a change while simulation is runinig in a real time. But when other change occur, the information should to be reset or deleted and collect the new information. How can i do?,suggestion? regreets

回答 (1 件)

Ryan G
Ryan G 2013 年 2 月 4 日
It sounds like you want to store or read data while an event is occuring (as defined by you) and when the event is not occuring, do nothing.
You can accomplish something like this using an enabled subsystem You can put recording blocks or signals in the subsystem and enable it based on your own criteria. You could use to-workspace or to-file blocks, for example.

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by