Input port for period/frecuency square wave simulink arduino
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Vineeth Nair
2018-9-18
Square wave generator block -> Right Click -> Block Parameters -> Time(t) -> Change it to "use external signal"
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!