Input port for period/frecuency square wave simulink arduino

4 Ansichten (letzte 30 Tage)
Oscar García
Oscar García am 15 Sep. 2018
Beantwortet: Vineeth Nair am 18 Sep. 2018
I need to make a block that generates a square wave with period/frecuency as an input port. I need this waveform to output to upload to an Arduino. The max frecuency I need is 10kHz

Antworten (1)

Vineeth Nair
Vineeth Nair am 18 Sep. 2018
Square wave generator block -> Right Click -> Block Parameters -> Time(t) -> Change it to "use external signal"

Kategorien

Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by