Input port for period/frecuency square wave simulink arduino

1 vue (au cours des 30 derniers jours)
Oscar García
Oscar García le 15 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

Réponses (1)

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

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by