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
>
>
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to