Borrar filtros
Borrar filtros

MATLAB expression 'R_loc' is not of the correct complexness.

6 visualizaciones (últimos 30 días)
Harshit
Harshit el 5 de Abr. de 2013
Hi, This is an issue I am getting using matlab coder. While declaring C the type I used was complex. But during run time some variables becomes real and so the error starts coming in. Any suggestions. Thanks.
  3 comentarios
Jan
Jan el 11 de Abr. de 2013
@Harshit: We cannot suggest an improvement without seeing the relevant code.
Harshit
Harshit el 12 de Abr. de 2013
Hi, Thanks for your help. I have resolved the issue. I have declared R_loc as complex but it sometimes turns out to be real so I added 0.0000001i to all the elements.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by