Matlab function gui_mainfcn.m crashes on feval
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to work with the GRIB1 file reader found at this address:
This is very old Matlab code (2016), with lots of low-level function calls. When I get to line 95 of the gui_mainfcn.m function (written by Matlab), the whole Matlab tool crashes. I sent a copy of the crash log to MathWorks. The log says, "Access violation detected".
The offending code in gui_mainfcn.m is here:
varargin{1} = gui_State.gui_Callback;
if nargout
[varargout{1:nargout}] = feval(varargin{:});
else
feval(varargin{:}); % crashes here (line 95)
end
The crash occurs when I try to open a file from the GRIB1 GUI. When I use the pulldown menu for the GFS TEST FILE RAIN folder, Matlab freezes up and crashes.
At line 91, varargin{1} = 'popupmenu13_Callback'.
nargout = 0
When I try to evaluate line 95, even from the command line, Matlab dies.
Is there something funny going on in the popupmenu13_Callback?
Is there a newer version of this GRIB1 reader? All I'm interested in is parsing the data in the GRIB files. I don't need to display them, although that would be nice.
0 Kommentare
Akzeptierte Antwort
Ayush
am 28 Mär. 2024
Hello Kurt,
The crash that you have mentioned is a common occurrence as per the discussion section of the linked file exchange i.e. “Efficient GRIB1 data reader”. Since this is also an older file exchange which has not been updated since 2016, I would recommend certain newer alternatives that can cater to your particular use case of parsing the data in GRIB files. Here are two file exchanges that would let you do the same:
Hope this helps!
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!