Undefined function or method 'lt' for input arguments of type 'cell'

Hello!
While running my scripts i am sometimes get the following error:
_Undefined function or method 'lt' for input arguments of type 'cell' _
I've said sometimes because a strange thing happens here - running the same code exactly sometimes provide this error, and sometimes not!
The most strange thing here is that i don't even working with cells!!
The line that providing this error is:
Check_For_Bottom_Limit = Delta_Vector < (Configurations.Ramp_Down_No_RB_Alloc_Change_Bottom_Limit{1,1} - Rlxtion) ;
While:
Delta_Vector = [-1.4 -1.6 -8 ....]
Configurations.Ramp_Down_No_RB_Alloc_Change_Bottom_Limit{1,1} = 0
Rlxtion = 0
*Please help!!! *
Thanks!
Itay

 採用された回答

Grzegorz Knor
Grzegorz Knor 2011 年 9 月 22 日

0 投票

lt means Less than:
A < B
And probably expression:
(Configurations.Ramp_Down_No_RB_Alloc_Change_Bottom_Limit{1,1} - Rlxtion)
sometimes is a cell.
And you work with a cells:
Configurations.Ramp_Down_No_RB_Alloc_Change_Bottom_Limit { 1,1 }
Tip: before you run the program, type:
dbstop if error
The program will stop when the error occur and you will be able to see what's wrong

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Debugging and Improving Code についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by