你说的太对了,我改了以后还有一个问题,想请教下,R=ROUTES{i}{Code(i)}是什么意思
??? Cell contents reference from a non-cell array object.
Error in ==> C:\MATLAB6p5\work\MCRGSA.m (ShiYinZhi)
On line 116
==>
R=ROUTES{i}{Code(i)};
由于不便于计算我把ROUTES改成了普通数组了,这句就出问题了
如果改成R=ROUTES(i){Code(i)}提示() Indexing must appear last in an index expression
能帮忙看看怎么回事吗
谢谢^_^