help > spharm mat problem with parametrization
Showing 1-2 of 2 posts
Display:
Results per page:
Jul 4, 2014  03:07 PM | Marco P
spharm mat problem with parametrization
Dear experts,
i'm trying to run a CALD parametrization and this error occurs. I had a look at initParamCALD (line 158) and everything is fine to me. I work on matlab r2014a. could you help me? thanks a lot.


ParamCALD
motor_binarised_resampled_obj: -40 = 8898 (8898) vertices * 2 - 17836 faces; 26754 edges
after pca min_max_number: 1 1
Solving simultaneous Linear Equations for latitude ...
Solving simultaneous Linear Equations for longitude ...
North Pole : 00922 (0.000000, -0.500000) pi
South Pole : 00228 (0.000000, 0.500000) pi
East Center: 05135 (-0.502052, 0.001317) pi
West Center: 04112 (0.496833, -0.001787) pi
Solving simultaneous Linear Equations for longitude ...
Solving simultaneous Linear Equations for longitude ...
Error using save
Unable to write file .//initParamCALD/motor_binarised_resampled_CALD_ini.mat: No such file or directory.

Error in initParamCALD (line 158)
save(new_name, 'vertices', 'sph_verts', 'faces', 'edges', 'dateline', 'landmarks','WAM','AM');
Error in SpharmMatParamTriaMesh (line 51)
[sph_verts, name3] = initParamCALD(vertices, faces, name2, confs);
Error in SpharmMatParameterization (line 48)
[vertices_new, faces_new, sph_verts_new, outNames{end+1}] = SpharmMatParamTriaMesh(file, confs);
Error in SPHARM_MAT>RunTag_Callback (line 601)
SpharmMatParameterization(handles.userdata.ParamCALD, handles.userdata.inObjs, 'ParamCALD');
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in SPHARM_MAT (line 70)
gui_mainfcn(gui_State, varargin{:});
Error while evaluating uicontrol Callback
Jul 31, 2014  10:07 PM | Michael Gregory
RE: spharm mat problem with parametrization
This is a bit old and you may have solved this already, but...

I am not 100% sure if this is correct, but try to set your output directory. It looks like you have ./ as the output directory, and then .// may be giving matlab an error. I had a similar erro when I first tried reading in nifti files and setting my output dir seemed to fix it. 

Michael