Hi Yael,
thanks for this. I'll incorporate your fix in the next release!!
Stefan
> Hello,
>
> I discovered that if I close my graphic window which opens automatically
> when SPM is launched, then I can't display the data,and I get the folowing
> error:
> --------------------------
> ??? Error using ==> guihandles
> H must be the handle to a figure or figure descendent.
>
> Error in ==> spm_eeg_display_ui at 62
> handles = guihandles(F);
>
> Error in ==> spm at 1604
> evalin('base',CBs{v-1})
> ----------------------------
>
> I added the following line to spm_eeg_display_ui (after line 57):
> if isempty(F)
> F = spm_figure('create','Graphics','Graphics','on');
> end
> this way if the window is closed, a new one will be created.
>
>
> hope you'll all find this helpful,
> Yael.
>
>
>
|