error when open new image

121 views
Skip to first unread message

陳昱全

unread,
Jan 17, 2024, 1:52:28 PM1/17/24
to xjView discuss group
I got the below error when I was trying to open the new image 


Unrecognized function or variable 'spm_get'.

Error in xjview>getImageFile (line 6999)
        P0 = spm_get([0:100],'*IMAGE','Select image files');

Error in xjview>CallBack_loadImagePush (line 3654)
    [handles.imageFileName, handles.M, handles.DIM, handles.TF, handles.df, handles.mni, handles.intensity] = getImageFile(thisfilename);

Error in xjview>figureMouseUpFcn (line 3600)
    CallBack_loadImagePush(handles.loadImagePush, eventdata);
 
Error while evaluating Figure WindowButtonDownFcn.

How can I solve this? Thanks for helping.

minoSpace 23

unread,
Nov 13, 2024, 1:12:56 PM11/13/24
to xjView discuss group
I am having the same error - please advise if there is a solution

minoSpace 23

unread,
Nov 13, 2024, 1:12:56 PM11/13/24
to xjView discuss group
I fixed this by replacing line 6999 with:

P0 = spm_select(Inf, 'image', 'Select image files');

On Wednesday, January 17, 2024 at 1:52:28 PM UTC-5 supera...@gmail.com wrote:
Reply all
Reply to author
Forward
0 new messages