Input port for period/frecuency square wave simulink arduino

조회 수: 1 (최근 30일)
Oscar García
Oscar García 2018년 9월 15일
답변: Vineeth Nair 2018년 9월 18일
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