an error occured when using dparsfa

Submitted by lucy on

hello!

professor Yan, when i processed my data with dparsfa based on matlab2013a, spm12, an error always occured.

but i 'm sure that i had used same parameters processed data successfully once a time

just with smooth value change from 4mm to 6mm

here are the infor that shoewed in matlab :

--------------------------------------------------------------------------------------------------------------------------------------------------

出错 y_spm_orthviews>addcolourbar (line 883)
if st{curfig}.mode == 0,

出错 y_spm_orthviews>addtruecolourimage (line 824)
addcolourbar(1,bset);

出错 y_spm_orthviews (line 511)
        addtruecolourimage(varargin{1}, varargin{2},varargin{3}, varargin{4}, ...

出错 y_Call_spm_orthviews (line 149)
    y_spm_orthviews('Addtruecolourimage',H,BrainHeader,ColorMap,1-Transparency,PMax,NMax);

出错 DPARSFA_run (line 2980)
            H = y_Call_spm_orthviews(Ch2Filename,0,0,0,18,Filename,jet(64),0,250,H,0.8);


出错 DPARSFA>pushbuttonRun_Callback (line 1786)
    [Error]=DPARSFA_run(handles.Cfg);


出错 gui_mainfcn (line 95)
        feval(varargin{:});

出错 DPARSFA (line 30)
    gui_mainfcn(gui_State, varargin{:});

 
计算 UIControl Callback 时出错

--------------------------------------------------------------------------------------------------------------------

can you tell me why does this message alway show up and how to solve it?

it will be apriciate if you can reply me asap.

anynone know how to deal with it can give me a solution! thanks a lot !!

Dear professor Yan,

Thanks for your reply!the problem has been solved :)

Though i have no ideal how the results came out successfully,cause i had tried your solution before, i even tried restart my computer, it didnt work.

It seems that fortune played a role in it.

Anyway, thanks!

Now, i have the result images, and i want to map it to 3D brain to generate a picture like the image i upload.

How can i realize it?

Could you please recommend some software or other methods?

Thanks again!

Best wishes!

 

 

Dear professor Yan,

Thanks for your instruction,

i have found the precise vedio you refer, and it is amazing!

And i do what you told in the vedio, but the matlab keeps give me these error information:

---------------------------------------------------------------------------------------------------------------------------

Attempted to access tmax(0); index must be a positive integer or logical.

Error in BrainNet>CutMesh (line 811)
    cuv=tmax(cut);

Error in BrainNet>FileView (line 4008)
                    [t,tl,tr,vl,vr,h1,w1,cut,cuv]=CutMesh(surf); %%% Edited by Mingrui
                    Xia,111027, move FLAG.IsCalledByREST judgement into function
                    MapCMPrepare.

Error in BrainNet>NV_m_nm_Callback (line 385)
    a=FileView;

Error in gui_mainfcn (line 96)
        feval(varargin{:});

Error in BrainNet (line 53)
    gui_mainfcn(gui_State, varargin{:});

Error in y_CallBrainNetViewer (line 149)
BrainNet('NV_m_nm_Callback',H_BrainNet)

Error in DPABI_VIEW>MorePopup_Callback (line 1401)
        y_CallBrainNetViewer(OverlayHeader.Data,...

Error in gui_mainfcn (line 96)
        feval(varargin{:});

Error in DPABI_VIEW (line 44)
    gui_mainfcn(gui_State, varargin{:});

Error in
@(hObject,eventdata)DPABI_VIEW('MorePopup_Callback',hObject,eventdata,guidata(hObject))

 
Error while evaluating uicontrol Callback

------------------------------------------------------------------------------------------------------------------------------

and i have tried generated 3D image with BrainNetViewer, it worked, but it cannot practice multiple comparison correction

i am wondering why it reports error when conjunction them together?

Thanks for your kindly response ^_^

Best wishes!