changing sampling time though a simulink model?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi
In Simulink, I'm collecting signals using 'From Workspace' blocks and bundling them up into a bus within an embedded function. Once collected I want to output them at the same time on that bus. They come in at a much faster rate than I want them to go out. Say, each signal line (a time series) gets read in at 0.0015 (1.5msec) seconds and I'd like the embedded function to output them at 0.01 (10msec) seconds. I've tried putting an 'Enabled System' block on the output of my embedded function but it still has data being put out at the 1.5msec rate. One of the outputs of the embedded function is an enable line which is held low until all the signals are collected in the bus. Any help would be appreciated.
Matlab ver 2011b Simulink 7.8
Thanks...
Mike
0 Kommentare
Antworten (1)
Azzi Abdelmalek
am 28 Sep. 2012
Bearbeitet: Azzi Abdelmalek
am 28 Sep. 2012
use a zoh block from simulink/discret and set you new sample time
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!