How can i resolve the following error when Image Database is loaded?

File extension main.p file
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)MainGUI('pushbutton12_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.

3 Comments

attached files here as zip
MainGUI.p problem here
Send it back to the author for debugging. You (and we) cannot be expected to debug .p files.
Probably the code is not correctly constructing the full filename to pass to mha_read_volume, and mha_read_volume is not doing sufficient testing to be sure that it has been given a valid filename.

Sign in to comment.

Answers (0)

Categories

Products

Release

R2017a

Asked:

on 12 Jan 2019

Commented:

on 12 Jan 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!