Alternatives to entrinsic functions such as imread and other functions during code generation in MATLAB
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
As you may know, entrinsic functions are not outputted during the code generation process. Are there alternatives to these functions/ and or solutions to this problem? My code generation error report is shown below :
I am surprised that I can't output size and rgb2gray either. Since these are essential to my program, I cannot avoid them.
Help will be much appreciated!
0 commentaires
Réponses (1)
Image Analyst
le 21 Avr 2015
I guess you will need to write them yourself. I'm not sure why they exclude those particular functions though.
2 commentaires
Image Analyst
le 21 Avr 2015
You're right, for arbitrary images of any possible format. However if you know the format and it's simple, then you can probably use fread() to read in a 2D array. You could then convert it to color if needed.
Voir également
Catégories
En savoir plus sur MATLAB Coder dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!