Table size limit?
1 回表示 (過去 30 日間)
古いコメントを表示
Here is what I am seeing:
>> mnl = readmps('mnl.mps');
??? Error using ==> addtotable at 12
Too many entries in table.
Error in ==> readmps at 150
rowtable=addtotable(rowtable,f{2},rowcount);
I am trying to use readmps, a file off the matlab exchange for creating linear programming problems in matlab. I have used the program before with no problems. I suspect that the mps file I am trying to read in is just to big. Is this likely the cause? Is there some size limit on tables that I am unaware of?
0 件のコメント
回答 (5 件)
Walter Roberson
2012 年 3 月 5 日
I do not find any readmps routine in the MATLAB File Exchange.
I find lpmexext which appears to have a read_mps command in it. That code appears to have a limit of 100 lps. You might be able to increase that by increasing the value of the LPMAX #define near the beginning of the C source.
1 件のコメント
Jan
2012 年 3 月 5 日
There is no real chance, that somebody can guess, what's going on. We do neither know the function nor the file.
I suggest to use the debugger to stop Matlab, when the problem occurs:
dbstop if error
Then check the value of the local variables. Perhaps rowcount is Inf by accident or a damaged file? Perhaps it is negative and the error message is misleading?
Did you ask the author?
0 件のコメント
Edward Umpfenbach
2012 年 3 月 5 日
3 件のコメント
Walter Roberson
2012 年 3 月 6 日
Looks like it to me. Or at least _that_ won't be the limit you run in to ;-)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!