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 次查看(过去 30 天)
Coz of this , its not getting converted using hdl converter. it would be great if some one can help.
thanks in advance

回答(1 个)

Tim McBrayer
Tim McBrayer 2014-2-25
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.

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by