Matlab to C code generation readiness error
Afficher commentaires plus anciens
i want to convert my mat-lab code to c code but then when i am checking the code generation readiness then it is showing that some functions calls are unsupported.
Do i need to change these functions i mean write any alternatives ????I am using matlab 2015 version .If yes then pls tell me the alternative code for these functions/code:
fieldnames function:
fn0 = fieldnames(varargin{1});
accumarray function:
D = accumarray(subs, -x(M,3).*wM, [numel(Il),1]);
exist function
if exist('pars','var')
pars = optionmerge(pars0,pars);
whos function
t = whos('Il');
if ~strcmp(t.class,'double');
Il = double(Il);
eval function
eval('y = x(1+siz(1):rows-siz(1), 1+siz(2):cols-siz(2), 1+siz(3):layers-siz(3));')
rmfield function
pars = rmfield(pars,'algorithm');
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!