Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

can hdl coder convert matlab codes that have functions inside them which is written by user?

1 vue (au cours des 30 derniers jours)
fahim GH
fahim GH le 5 Août 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
hi I have a matlab main code and i use some functions inside main code that I wrote them.when I run HDL CODER,I have error that these functions can not be recognized. I was wondering if there is any way that matlab know them??

Réponses (1)

Walter Roberson
Walter Roberson le 5 Août 2015
In general, Yes, provided that all the elements of the function can be turned into code.
You will generally need to alter your code a bit for use with code generation. See http://www.mathworks.com/help/fixedpoint/algorithm-design.html
  1 commentaire
fahim GH
fahim GH le 9 Août 2015
thanks for answering.but I didnt get it how I make matlab recognize my written functions.in HDL-CODER tuttorial there wasnt any step for selecting functions or sth like this

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by