some unsupported loop problem in matlab function block in simulink. even though the output of the previous block displays only single vector of output, the matlab function displays more than one input vector.

1 view (last 30 days)
Coz of this , its not getting converted using hdl converter. it would be great if some one can help.
thanks in advance

Answers (1)

Tim McBrayer
Tim McBrayer on 25 Feb 2014
With virtually no information in your question, I am going to hazard a guess that you have a while loop in your MATLAB code. Loops in MATLAB need to have statically determinable bounds in order to be converted to HDL code.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!