FIND requires variable sizing
이전 댓글 표시
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
Kaustubha Govind
2014년 8월 29일
Could you post a simplified version of your function with use of coder.varsize? Is min_loc an output of the block, or just a local variable?
Idrees Idrees
2014년 8월 29일
Idrees Idrees
2014년 9월 1일
답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!