Clear Filters
Clear Filters

Input port for period/frecuency square wave simulink arduino

1 view (last 30 days)
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

Answers (1)

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

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!