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,

 採用された回答

Image Analyst
Image Analyst 2014 年 9 月 28 日
Try this
path
which -all LteCFI
which -all lteCFI
What does it say?

6 件のコメント

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.
Khanh
Khanh 2014 年 9 月 28 日
編集済み: Khanh 2014 年 9 月 28 日
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?
Khanh
Khanh 2014 年 9 月 28 日
編集済み: Khanh 2014 年 9 月 28 日
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.
Image Analyst
Image Analyst 2014 年 9 月 28 日
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.
Khanh
Khanh 2014 年 9 月 28 日
Got it. Thank you very much for your help.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLTE Toolbox についてさらに検索

製品

質問済み:

2014 年 9 月 28 日

コメント済み:

2014 年 9 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by