Info

此问题已关闭。 请重新打开它进行编辑或回答。

About Coder Dealing with Complex Nubmer

1 次查看(过去 30 天)
James D.B. Wang
James D.B. Wang 2014-9-22
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
Denis Gurchenkov
Denis Gurchenkov 2014-9-23
Hi James, can you post the example that you are trying to compile? imag() and isreal() require an input.

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by