How can I handle a square wave input in a MATLAB function block?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Vicky S
am 24 Jun. 2015
Kommentiert: Vicky S
am 26 Jun. 2015
I am currently working on embedding a controller code. The input to the code is in the form of square wave pulses and as per my understanding it is handled as a time-series object. But none of the time-series commands to extract fields is plausible. Request your input on this issue.
0 Kommentare
Akzeptierte Antwort
Drew Davis
am 25 Jun. 2015
Assuming you are using the pulse generator, the default output of this block is a double, so no additional processing is needed to be performed inside the MATLAB function block to obtain the value of the signal
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!