how to Specify the arguments of imfilter in codegen function ? how to call it with the right parameters ?

1 visualización (últimos 30 días)
Hallo everybody,
i'm trying to optimize the run time of my App by getting imfilter function called as a C Code .
so first i used the following codegen code to creat a the C Liberies :
codegen -d imfilterlib -config:lib imfilter -args {zeros(3456,5184,'double'),zeros(399,399,'double')}
so im not sure if the input arugments here are the right one, for an Array 3456 x 5184 class double for the first argument for example.
the filles are generated and saved with out any problem
now when using coder.cval function calling the generated function comes allways the error that coder.cval function is not supported in Matlab.
coder.cinclude('imfilter_initialize.h');
coder.cinclude('imfilter.h');
coder.cinclude('imfilter_terminate.h');
coder.ceval('imfilter_initialize');
as showen in the screenshot :
is it something to do with the matlab version i did somthingwrong using the function. i would be very thankfull if you can help.
thanks a lot.
best regards

Respuestas (0)

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by