Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

About Coder Dealing with Complex Nubmer

1 vue (au cours des 30 derniers jours)
James D.B. Wang
James D.B. Wang le 22 Sep 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
I found that some functions cannot be generated into C-code properly. For examples,
  1. a = imag() => in the generated C-code, the return is always a = 0
  2. b = isreal() => in the generated C-code, the return is always b = True
Any setting I should apply before executing Coder?
  1 commentaire
Denis Gurchenkov
Denis Gurchenkov le 23 Sep 2014
Hi James, can you post the example that you are trying to compile? imag() and isreal() require an input.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by