Input port for period/frecuency square wave simulink arduino

4 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

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

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by