Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

About Coder Dealing with Complex Nubmer

1 Ansicht (letzte 30 Tage)
James D.B. Wang
James D.B. Wang am 22 Sep. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 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 Kommentar
Denis Gurchenkov
Denis Gurchenkov am 23 Sep. 2014
Hi James, can you post the example that you are trying to compile? imag() and isreal() require an input.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by