Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: delete elements at output

$
0
0
Can this problem be solved by “Variable Sample Time”? In the documentation I found some description about the method “mdlGetTimeOfNextVarHit”, but only in C. Are there any version for Matlab?

Thanks
Senmeis


"Owen" wrote in message <k5md6c$jlg$1@newscl01ah.mathworks.com>...
> Hi,
>
> An S function has one input and one output. An integer comes in as input at every sample time.
>
> I’d like to delete all elements = 1000 at output. Example:
>
> Input: 1 2 3 1000 4 5 1000 6 1000 7 1000 1000 8 9 10
> Output: 1 2 3 4 5 6 7 8 9 10
>
> Is this possible in Simulink? I think the biggest problem is sample time at output.
>
> Thanks
> Senmeis

Viewing all articles
Browse latest Browse all 19628

Trending Articles