forrt1 severe (38) error
Mostrar comentarios más antiguos
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
Respuestas (1)
Geoff Hayes
el 18 de Abr. de 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 comentarios
masri hala
el 19 de Abr. de 2015
Geoff Hayes
el 19 de Abr. de 2015
masri - so the executable is MEX function compiled from Fortran code?
masri hala
el 20 de Abr. de 2015
masri hala
el 20 de Abr. de 2015
Geoff Hayes
el 20 de Abr. de 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
el 22 de Abr. de 2015
James Tursa
el 22 de Abr. de 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
el 22 de Abr. de 2015
masri hala
el 27 de Abr. de 2015
James Tursa
el 27 de Abr. de 2015
Editada: James Tursa
el 27 de Abr. de 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
el 28 de Abr. de 2015
James Tursa
el 28 de Abr. de 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.
Categorías
Más información sobre MATLAB Mobile en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!