arduino timer compare interrupt s-function implementation

1 回表示 (過去 30 日間)
SENOL GULGONUL
SENOL GULGONUL 2020 年 11 月 17 日
I wanted to write an s-function for timer1 compare interrupt. simulation at external mode pauses at the first time step (0.1). Interrupt works and I can see the signal at pin-13 but no signal at pin-12. It seems that sw locks inside the interrupt and does not continue with the code written at s-function outputs tab.

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by