Defining inline class in function for code generation using matlab coder.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sandip Kulkarni
le 24 Fév 2018
Réponse apportée : Walter Roberson
le 24 Fév 2018
I was trying to generate code from a matlab function which loads mat files with inline functions in it. But, there are errors: Found unsupported class for variable using function 'coder.load'. MATLAB class 'inline' found at 'ism.ISM.f_D' is unsupported.
Use the command 'whos -file IceStorage.mat' to view the variables in the MAT file.
Is there a way to define inline functions such that code generation could be completed successfully?
0 commentaires
Réponse acceptée
Walter Roberson
le 24 Fév 2018
https://www.mathworks.com/help/coder/ug/matlab-language-features-supported-for-code-generation.html#buznj9a
Inline is not supported, and will never be supported as it is about to be removed from MATLAB
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Function Creation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!