forrt1 severe (38) error
古いコメントを表示
hi i have an exacutable file when i run it with 2000 pixels of image i don't receice any error, but when i increase the number of pixels i receive the message: forrt1 severe (38) error. what does it mean? another question how much pixels i can use in analysis of it on matlab
回答 (1 件)
Geoff Hayes
2015 年 4 月 18 日
1 投票
masri - what is the executable that you are running? I'm guessing that it is a Fortran compiled MEX file which takes in some inputs and tries to write something to file which fails for the case where you are trying to run the program with more than 2000 pixels (do you mean that you input a value of 2000 or an image with 2000 or more pixels - please clarify). A quick Google search reveals that this error can be generated during a file write operation.
It may be that the Fortran code used that the program is compiled makes certain assumptions about the inputs. If you have the code then you should try and figure out what those assumptions are, or contact the author of the executable.
12 件のコメント
masri hala
2015 年 4 月 19 日
Geoff Hayes
2015 年 4 月 19 日
masri - so the executable is MEX function compiled from Fortran code?
masri hala
2015 年 4 月 20 日
masri hala
2015 年 4 月 20 日
Geoff Hayes
2015 年 4 月 20 日
Masri - do you have the Fortran source code because that is what you will need to modify to account for your new requirements. If you don't have the code, then you will need to contact the author of the code.
masri hala
2015 年 4 月 22 日
James Tursa
2015 年 4 月 22 日
If the function works for "small" number of pixels but crashes for "large" number of pixels, then there is likely some limitation in the code itself that is causing it, and likely the only solution is to change the source code and re-compile the routine. The only way to tell for sure is to look at the source code and/or contact the author.
masri hala
2015 年 4 月 22 日
masri hala
2015 年 4 月 27 日
James Tursa
2015 年 4 月 27 日
編集済み: James Tursa
2015 年 4 月 27 日
Type the following at the command line to see your memory situation:
memory
The array you are trying to use is about 3GB.
masri hala
2015 年 4 月 28 日
James Tursa
2015 年 4 月 28 日
" ... any size ..." Clearly no, there is a finite amount of memory in your computer and MATLAB has limits. To see the current working limits type "memory" at the command line as advised.
カテゴリ
ヘルプ センター および File Exchange で MATLAB Mobile についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!