finding the last sample

I need to find the last sample value of signal in simulink. can it be done using the selector block?
I tried, but error was thrown saying, "Error in port widths or dimensions. Output port 1 of 'simul/Sine Wave1' is a [1x1] matrix."
can anyone suggest any solution?

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Asked:

on 30 Mar 2012

Community Treasure Hunt

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

Start Hunting!