help > error in initParamCALD
Showing 1-2 of 2 posts
Display:
Results per page:
Sep 19, 2018  09:09 AM | Karol Dawidowicz
error in initParamCALD
Hi,
I have some troubles with the parameterization step. I tried to go trough Exercise 3.1 (the example data) but
I have the following message in Matlab (2014a):

Undefined function or variable 'file'.
Error in initParamCALD (line 43)
[path, name, ext] = fileparts(file);
Error in SpharmMatParamTriaMesh (line 52)
[sph_verts, name3] = initParamCALD(vertices, faces, name2, confs);
Error in SpharmMatParameterization (line 49)
[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

I would appreciate any help,
Thanks
Oct 8, 2018  06:10 AM | Karol Dawidowicz
RE: error in initParamCALD
I found a solution
instead "file" should be "filename"