Input port for period/frecuency square wave simulink arduino
Show older comments
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
on 18 Sep 2018
0 votes
Square wave generator block -> Right Click -> Block Parameters -> Time(t) -> Change it to "use external signal"
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!