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
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 个评论

thank you for your answer. the executable is a program of segmentation of image under matlab. with 2000 pixels the program run correctly but with more pixels i receive the message that you knew. i need an answer beacause i want to apply my program on image 200x320. thanks
masri - so the executable is MEX function compiled from Fortran code?
yes as the message describe. do have a solution?
hi do you have a solution for this type of problem?
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.
morning did you mean i need fortran source code only for big number of pixels only? because for a few number i don't have a problem, the algorithm was executed normally.
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.
thanks for all. I will try to change the code.
hi, i changed my code source and i tried to run my code . the last error was disappeared. now the problem is out of memory. what is the dimension of square matrix matlab can accept? is acceptable a matrix (20000,20000)? thank you. i hope read an answer.
Type the following at the command line to see your memory situation:
memory
The array you are trying to use is about 3GB.
my question is that matlab can execute any size dimension of matrix?
" ... 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!

Translated by