FIND requires variable sizing

10 views (last 30 days)
Idrees Idrees
Idrees Idrees on 28 Aug 2014
Commented: Idrees Idrees on 1 Sep 2014
i am facing a problem of "Find requires variable sizing" whenever i compile my matlab function block of simevents. the scenario is simple that is i have to fimd the indexes from an array using find function: min_loc = find(pat_w_time(:,k)==min(pat_w_time(:,k)));
i have tried to google it a lot and also tried to search mathworks but all in vain moreover i have also tried code.varsize and emel.varsize but agian i am getting error. help appreciated
  3 Comments
Idrees Idrees
Idrees Idrees on 1 Sep 2014
it must be noted that i am using attribute function block of simevents

Sign in to comment.

Answers (1)

Andrew Reibold
Andrew Reibold on 29 Aug 2014
  2 Comments
Idrees Idrees
Idrees Idrees on 1 Sep 2014
it must be noted that i am using attribute function block of simevents

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!

Translated by