forrt1 severe (38) error
Mostra commenti meno recenti
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
Risposte (1)
Geoff Hayes
il 18 Apr 2015
1 voto
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 Commenti
masri hala
il 19 Apr 2015
Geoff Hayes
il 19 Apr 2015
masri - so the executable is MEX function compiled from Fortran code?
masri hala
il 20 Apr 2015
masri hala
il 20 Apr 2015
Geoff Hayes
il 20 Apr 2015
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
il 22 Apr 2015
James Tursa
il 22 Apr 2015
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
il 22 Apr 2015
masri hala
il 27 Apr 2015
James Tursa
il 27 Apr 2015
Modificato: James Tursa
il 27 Apr 2015
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
il 28 Apr 2015
James Tursa
il 28 Apr 2015
" ... 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.
Categorie
Scopri di più su Programming in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!