You can put a file scope block inside an enabled subsystem. Then use something you can derive in the model to control when the enable is true.
You could use the xPC Target Time block. Capture the first value and then compute the delta from then to figure out when you want to change the enable.
Gordon Weast xPC Target Development MathWorks
Shelia kk wrote: > Anyone who can help? > > "Shelia kk" wrote in message <firstname.lastname@example.org>... >> Hi, >> >> I can record my data using xpc file scope during the whole >> experiments. However I would like to record the data in the first 10 >> seconds then at the last 10 seconds, Not the whole experiment. Because >> my experiment will take about 5 hours and I am not interested in the >> whole process. How can I do that ? >> Thanks