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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by