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!