Skip to content

Incorrect dimensions for matrix multiplication #66

@labteng

Description

@labteng

Hello,
image

The current 2.4.4.0 version could not successfully load probe from my .snirf data (see the result). I am doing a temporal scanning while all of the probe are in vertical shape and do not align with the surface. Any functions that are related my probe will result in errors like:

Error using *
Incorrect dimensions for matrix multiplication. Check that the number of columns in the first
matrix matches the number of rows in the second matrix. To operate on each element of the
matrix individually, use TIMES (.*) for elementwise multiplication.

Error in registerProbe2Head (line 21)
probe.optpos_reg = optpos*T;

Error in AtlasViewerGUI>pushbuttonRegisterProbeToSurface_Callback (line 679)
probe = registerProbe2Head(probe, headvol, refpts);

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

Error in AtlasViewerGUI (line 19)
gui_mainfcn(gui_State, varargin{:});

Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)AtlasViewerGUI('pushbuttonRegisterProbeToSurface_Callback',hObject,eventdata,guidata(hObject))

Related documentation

Error while evaluating UIControl Callback.

I am wondering is it the problem of the version or my own data.
Please check my data here if need:
https://gocuhk-my.sharepoint.com/:u:/g/personal/siqigao_cuhk_edu_hk/EX0GbQ61qkdPvrVCUY_t6hIByOZ1MtThGuDaq5Kxdx3aOQ?e=arBA3l

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions