How to assign several hit values to counter?

조회 수: 4 (최근 30일)
Alex Querfurth
Alex Querfurth 2017년 12월 19일
편집: Alex Querfurth 2017년 12월 19일
Hi all, I am using a counter from DSP System Toolbox which should output a boolean at specific values. So my idea is to use the hit parameter of the counter and provide a vector of the hit values to this parameter like [5,10,15]. The actual hit values are calculated in a Matlab function, the output vector is stored in variable y. How do I assign y as the hit value vector? In other words: What to do to make y selectable in the Block Parameters dialog pictured above, where the current text says 'No actions available for specified value'?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by