How to assign several hit values to counter?

4 次查看(过去 30 天)
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