Borrar filtros
Borrar filtros

Initialize optimizer for Coder

1 visualización (últimos 30 días)
Flo
Flo el 21 de Jun. de 2017
Hi, I want to use (the auto generated) code of the Registration Estimator app within Matlab and want to use it in C++.
My approach is to use Coder for this. But I have an issue during the "Check for issues" step within the wizard. I getting the (and a couple of others):
Attempt to extract field 'GradientMagnitudeTolerance' from 'mxArray'.
Error on the second line of this:
[optimizer, metric] = imregconfig('monomodal');
optimizer.GradientMagnitudeTolerance = 1.00000e-04;
What I understand so far is, that I have to use:
coder.extrinsic('imregconfig');
coder.extrinsic('optimizer');
In order to have it working. But the error still exists.
Any suggestions, how to avoid this error? / How to get rid of it?

Respuestas (0)

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by