Info

This question is closed. Reopen it to edit or answer.

About Coder Dealing with Complex Nubmer

1 view (last 30 days)
James D.B. Wang
James D.B. Wang on 22 Sep 2014
Closed: MATLAB Answer Bot on 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 Comment
Denis Gurchenkov
Denis Gurchenkov on 23 Sep 2014
Hi James, can you post the example that you are trying to compile? imag() and isreal() require an input.

Answers (0)

Community Treasure Hunt

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

Start Hunting!