Cannot execute existing function from LTE toolbox. Error: Cannot find an exact match ...

I got the following error while trying to execute a function from LTE toolbox
>> cw = lteCFI(struct('CFI',2));
Cannot find an exact (case-sensitive) match for 'lteCFI'
The closest match is: LteCFI in
/Applications/MATLAB_R2014a.app/toolbox/lte/lteobsolete/LteCFI.m
Did you mean:
>> cw = LteCFI(struct('CFI',2));
However, lteCFI does exist in /Applications/MATLAB_R2014a.app/toolbox/lte/lte, and I've already had this folder in the MATLAB search path. I also tried to navigate to that folder, and run lteCFI from there, but got the same error.
Even worse, if I try to run the function that matlab suggests ( LteCFI ), then Matlab again complains about it ( lteCFI ) is not found.
>> cw = LteCFI(struct('CFI',2));
Cannot find an exact (case-sensitive) match for 'lteCFI'
The closest match is: LteCFI in
/Applications/MATLAB_R2014a.app/toolbox/lte/lteobsolete/LteCFI.m
Error in obsoleteLTEFunction (line 8)
[varargout{1:nargout}]= newfunction(args{:});
Error in LteCFI (line 12)
[varargout{1:nargout}] =
obsoleteLTEFunction(mfilename,'lteCFI',varargin,'transposeoutput');
What's the problem? and how can I fix it?
Thanks,

 Akzeptierte Antwort

Try this
path
which -all LteCFI
which -all lteCFI
What does it say?

6 Kommentare

Ah, I get this result
>> which -all lteCFI
/Applications/MATLAB_R2014a.app/toolbox/lte/lte/lteCFI.m % Has no license available
>> which -all LteCFI
/Applications/MATLAB_R2014a.app/toolbox/lte/lteobsolete/LteCFI.m
Looks like a licensing issue, isn't it? This version of matlab was installed for me by school administrator so I might have to check with them on Monday then.
Thank you,
You probably don't want the obsolete one, so in your startup.m file, or in your m-file that you're running, put this
rmpath('/Applications/MATLAB_R2014a.app/toolbox/lte/lteobsolete');
You might have to put the full path with drive letter if you're in Windows. That will remove that folder from the search path so it won't find it and should not complain about conflicts.
Right, I've removed the obsolete directory as you said
>> rmpath('/Applications/MATLAB_R2014a.app/toolbox/lte/lteobsolete')
>> lteCFI
Undefined function or variable 'lteCFI'.
I've tested other toolboxes I have, everything is fine except the lte toolbox. Could it be some bug in matlab or am I not having the license for that toolbox?
I've checked
>> license checkout lte
ans =
0
So I guess I just don't have the license for this toolbox. Thanks for your help.
Yes, sorry I didn't notice it before. It does say "% Has no license available" when you did the which command. So you don't have a license to use that toolbox even though it still remains on your computer, perhaps from a trial of it or something. You'll need to contact the Mathworks to get the license renewed.
Got it. Thank you very much for your help.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu LTE Toolbox finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 28 Sep. 2014

Kommentiert:

am 28 Sep. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by