usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

Error using coder.internal.errorIf (line 8) The input signal must be complex.

NQ
nur qalbi
Fri, Sep 8, 2017 2:07 AM

hi.i am using MATLAB R2016a os Ubuntu 14.04.i have two USRP N210. i have
done follow all the instruction from github :
https://github.com/80211bSDR/LinkLayer-MATLAB

i have faced problem when trying transmit DATA to 2nd USRP,i found an error
like below:

Error using coder.internal.errorIf (line 8) The input signal must be
complex.

hope anyone can give idea.how to solve this problem.

hi.i am using MATLAB R2016a os Ubuntu 14.04.i have two USRP N210. i have done follow all the instruction from github : https://github.com/80211bSDR/LinkLayer-MATLAB i have faced problem when trying transmit DATA to 2nd USRP,i found an error like below: Error using coder.internal.errorIf (line 8) The input signal must be complex. hope anyone can give idea.how to solve this problem.
MM
Marcus Müller
Fri, Sep 8, 2017 9:34 AM

Hi Nur Qalbi,

with that info, we can't really infer what's wrong with your Matlab
program. You'll have to give a more comprehensive error description, and
that means you'll probably have to investigate some more on your own.

Apologies,

Marcus

On 08.09.2017 04:07, nur qalbi via USRP-users wrote:

hi.i am using MATLAB R2016a os Ubuntu 14.04.i have two USRP N210. i
have done follow all the instruction from github :
https://github.com/80211bSDR/LinkLayer-MATLAB

i have faced problem when trying transmit DATA to 2nd USRP,i found an
error like below:

Error using coder.internal.errorIf (line 8) The input signal must be
complex.

hope anyone can give idea.how to solve this problem.


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hi Nur Qalbi, with that info, we can't really infer what's wrong with your Matlab program. You'll have to give a more comprehensive error description, and that means you'll probably have to investigate some more on your own. Apologies, Marcus On 08.09.2017 04:07, nur qalbi via USRP-users wrote: > > hi.i am using MATLAB R2016a os Ubuntu 14.04.i have two USRP N210. i > have done follow all the instruction from github : > https://github.com/80211bSDR/LinkLayer-MATLAB > > i have faced problem when trying transmit DATA to 2nd USRP,i found an > error like below: > > Error using coder.internal.errorIf (line 8) The input signal must be > complex. > > hope anyone can give idea.how to solve this problem. > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
NQ
nur qalbi
Mon, Sep 11, 2017 3:17 AM

hereby  i list down  error with coding  below:

Error using coder.internal.errorIf (line 8)
The input signal must be complex.

coding
1.function errorIf(cond, msgID, varargin)
2.%MATLAB Code Generation Private Function
3.
4.%  Copyright 2011-2014 The MathWorks, Inc.
5.
6.%MATLAB execution
7.if cond
8.    assert(false, message(msgID, varargin{:}));
9.end

Error in comm.internal.CoarseFrequencyEstimatorBase/validateInputsImpl
(line 70)
coder.internal.errorIf(isreal(x), ...

coding
67.function validateInputsImpl(~,x)
68.    % Input must be complex
69.  if isempty(coder.target)
70.    coder.internal.errorIf(isreal(x), ...
71.        'comm:CoarseFrequencyEstimatorBase:invalidComplexity');
72.  end

Error in rffe (line 66)
ofs = step(he,ddf);

coding
60.else
61.  % Automatic Gain Control (AGC)
62.  tmp = step(ha,df);
63.    % FIR Decimation
64.  ddf = step(hd,tmp);
65.  % Coarse Frequency Offset Estimation (CFE)
66.    ofs = step(he,ddf);
67.    % Frequency Offset Compensation (FOC)
68.  tmp = step(hf,tmp,-ofs);
69.  % Raised Cosine Receive Filtration (RCRF)
70.    dfr = step(hrr,tmp);

hope anyone can give idea.how to solve this problem.
thank you

On Fri, Sep 8, 2017 at 5:34 PM, Marcus Müller via USRP-users <
usrp-users@lists.ettus.com> wrote:

Hi Nur Qalbi,

with that info, we can't really infer what's wrong with your Matlab
program. You'll have to give a more comprehensive error description, and
that means you'll probably have to investigate some more on your own.

Apologies,

Marcus

On 08.09.2017 04:07, nur qalbi via USRP-users wrote:

hi.i am using MATLAB R2016a os Ubuntu 14.04.i have two USRP N210. i have
done follow all the instruction from github :
https://github.com/80211bSDR/LinkLayer-MATLAB

i have faced problem when trying transmit DATA to 2nd USRP,i found an
error like below:

Error using coder.internal.errorIf (line 8) The input signal must be
complex.

hope anyone can give idea.how to solve this problem.


USRP-users mailing listUSRP-users@lists.ettus.comhttp://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

hereby i list down error with coding below: Error using coder.internal.errorIf (line 8) The input signal must be complex. coding 1.function errorIf(cond, msgID, varargin) 2.%MATLAB Code Generation Private Function 3. 4.% Copyright 2011-2014 The MathWorks, Inc. 5. 6.%MATLAB execution 7.if cond 8. assert(false, message(msgID, varargin{:})); 9.end Error in comm.internal.CoarseFrequencyEstimatorBase/validateInputsImpl (line 70) coder.internal.errorIf(isreal(x), ... coding 67.function validateInputsImpl(~,x) 68. % Input must be complex 69. if isempty(coder.target) 70. coder.internal.errorIf(isreal(x), ... 71. 'comm:CoarseFrequencyEstimatorBase:invalidComplexity'); 72. end Error in rffe (line 66) ofs = step(he,ddf); coding 60.else 61. % Automatic Gain Control (AGC) 62. tmp = step(ha,df); 63. % FIR Decimation 64. ddf = step(hd,tmp); 65. % Coarse Frequency Offset Estimation (CFE) 66. ofs = step(he,ddf); 67. % Frequency Offset Compensation (FOC) 68. tmp = step(hf,tmp,-ofs); 69. % Raised Cosine Receive Filtration (RCRF) 70. dfr = step(hrr,tmp); hope anyone can give idea.how to solve this problem. thank you On Fri, Sep 8, 2017 at 5:34 PM, Marcus Müller via USRP-users < usrp-users@lists.ettus.com> wrote: > Hi Nur Qalbi, > > with that info, we can't really infer what's wrong with your Matlab > program. You'll have to give a more comprehensive error description, and > that means you'll probably have to investigate some more on your own. > > Apologies, > > Marcus > > On 08.09.2017 04:07, nur qalbi via USRP-users wrote: > > > hi.i am using MATLAB R2016a os Ubuntu 14.04.i have two USRP N210. i have > done follow all the instruction from github : > https://github.com/80211bSDR/LinkLayer-MATLAB > > i have faced problem when trying transmit DATA to 2nd USRP,i found an > error like below: > > Error using coder.internal.errorIf (line 8) The input signal must be > complex. > > hope anyone can give idea.how to solve this problem. > > > _______________________________________________ > USRP-users mailing listUSRP-users@lists.ettus.comhttp://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > > > _______________________________________________ > USRP-users mailing list > USRP-users@lists.ettus.com > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > >
MM
Mike McLernon
Mon, Sep 11, 2017 12:07 PM

Hi Nur Qalbi,

Can you verify that the signal at the point of error is actually real?

Best,
Mike

From: USRP-users [mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of nur qalbi via USRP-users
Sent: Sunday, September 10, 2017 11:18 PM
To: Marcus Müller marcus.mueller@ettus.com
Cc: usrp-users@lists.ettus.com
Subject: Re: [USRP-users] Error using coder.internal.errorIf (line 8) The input signal must be complex.

hereby  i list down  error with coding  below:

Error using coder.internal.errorIf (line 8)
The input signal must be complex.
coding
1.function errorIf(cond, msgID, varargin)
2.%MATLAB Code Generation Private Function
3.
4.%  Copyright 2011-2014 The MathWorks, Inc.
5.
6.%MATLAB execution
7.if cond
8.    assert(false, message(msgID, varargin{:}));
9.end

Error in comm.internal.CoarseFrequencyEstimatorBase/validateInputsImpl (line 70)
coder.internal.errorIf(isreal(x), ...
coding
67.function validateInputsImpl(~,x)
68.    % Input must be complex
69.  if isempty(coder.target)
70.    coder.internal.errorIf(isreal(x), ...
71.        'comm:CoarseFrequencyEstimatorBase:invalidComplexity');
72.  end

Error in rffe (line 66)
ofs = step(he,ddf);
coding
60.else
61.  % Automatic Gain Control (AGC)
62.  tmp = step(ha,df);
63.    % FIR Decimation
64.  ddf = step(hd,tmp);
65.  % Coarse Frequency Offset Estimation (CFE)
66.    ofs = step(he,ddf);
67.    % Frequency Offset Compensation (FOC)
68.  tmp = step(hf,tmp,-ofs);
69.  % Raised Cosine Receive Filtration (RCRF)
70.    dfr = step(hrr,tmp);

hope anyone can give idea.how to solve this problem.
thank you

On Fri, Sep 8, 2017 at 5:34 PM, Marcus Müller via USRP-users <usrp-users@lists.ettus.commailto:usrp-users@lists.ettus.com> wrote:

Hi Nur Qalbi,

with that info, we can't really infer what's wrong with your Matlab program. You'll have to give a more comprehensive error description, and that means you'll probably have to investigate some more on your own.

Apologies,

Marcus

On 08.09.2017 04:07, nur qalbi via USRP-users wrote:

hi.i am using MATLAB R2016a os Ubuntu 14.04.i have two USRP N210. i have done follow all the instruction from github : https://github.com/80211bSDR/LinkLayer-MATLAB

i have faced problem when trying transmit DATA to 2nd USRP,i found an error like below:

Error using coder.internal.errorIf (line 8) The input signal must be complex.

hope anyone can give idea.how to solve this problem.


USRP-users mailing list

USRP-users@lists.ettus.commailto:USRP-users@lists.ettus.com

http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


USRP-users mailing list
USRP-users@lists.ettus.commailto:USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Hi Nur Qalbi, Can you verify that the signal at the point of error is actually real? Best, Mike From: USRP-users [mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of nur qalbi via USRP-users Sent: Sunday, September 10, 2017 11:18 PM To: Marcus Müller <marcus.mueller@ettus.com> Cc: usrp-users@lists.ettus.com Subject: Re: [USRP-users] Error using coder.internal.errorIf (line 8) The input signal must be complex. hereby i list down error with coding below: Error using coder.internal.errorIf (line 8) The input signal must be complex. coding 1.function errorIf(cond, msgID, varargin) 2.%MATLAB Code Generation Private Function 3. 4.% Copyright 2011-2014 The MathWorks, Inc. 5. 6.%MATLAB execution 7.if cond 8. assert(false, message(msgID, varargin{:})); 9.end Error in comm.internal.CoarseFrequencyEstimatorBase/validateInputsImpl (line 70) coder.internal.errorIf(isreal(x), ... coding 67.function validateInputsImpl(~,x) 68. % Input must be complex 69. if isempty(coder.target) 70. coder.internal.errorIf(isreal(x), ... 71. 'comm:CoarseFrequencyEstimatorBase:invalidComplexity'); 72. end Error in rffe (line 66) ofs = step(he,ddf); coding 60.else 61. % Automatic Gain Control (AGC) 62. tmp = step(ha,df); 63. % FIR Decimation 64. ddf = step(hd,tmp); 65. % Coarse Frequency Offset Estimation (CFE) 66. ofs = step(he,ddf); 67. % Frequency Offset Compensation (FOC) 68. tmp = step(hf,tmp,-ofs); 69. % Raised Cosine Receive Filtration (RCRF) 70. dfr = step(hrr,tmp); hope anyone can give idea.how to solve this problem. thank you On Fri, Sep 8, 2017 at 5:34 PM, Marcus Müller via USRP-users <usrp-users@lists.ettus.com<mailto:usrp-users@lists.ettus.com>> wrote: Hi Nur Qalbi, with that info, we can't really infer what's wrong with your Matlab program. You'll have to give a more comprehensive error description, and that means you'll probably have to investigate some more on your own. Apologies, Marcus On 08.09.2017 04:07, nur qalbi via USRP-users wrote: hi.i am using MATLAB R2016a os Ubuntu 14.04.i have two USRP N210. i have done follow all the instruction from github : https://github.com/80211bSDR/LinkLayer-MATLAB i have faced problem when trying transmit DATA to 2nd USRP,i found an error like below: Error using coder.internal.errorIf (line 8) The input signal must be complex. hope anyone can give idea.how to solve this problem. _______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com<mailto:USRP-users@lists.ettus.com> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com _______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com<mailto:USRP-users@lists.ettus.com> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com