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

조회 수: 1 (최근 30일)
Harshit
Harshit 2013년 4월 5일
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
Jan
Jan 2013년 4월 11일
@Harshit: We cannot suggest an improvement without seeing the relevant code.
Harshit
Harshit 2013년 4월 12일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by