help > zdim variable is not being defined
Aug 20, 2014  06:08 PM | Chris Vance - University of Arizona
zdim variable is not being defined
I am trying to get SLOMOCO to run on my computer and everything is working until the MATLAB functions are called in the last part of the slicemoco_newalgorithm.sh script. I keep getting an errors saying that the function or variable "fpparams" is not defined. The reason I think fpparams is not being defined is because the zdim variable is not being set to equal a number, earlier in output of the script zdim = []. I am getting seperate errors for each of the MATLAB functions that are called but the errors are basically the same. I am not sure if the errors are coming from something going wrong in MATLAB or something going wrong in the MATLAB scripts. I have downloaded the SLOMOCO tools a second time in case I accidentally changed something in one of the scripts that was causing the errors but I am still getting the errors. Here is the actual errors that I am getting (I tried to make the errors look more like it does in my terminal):

< M A T L A B (R) >
Copyright 1984-2014 The MathWorks, Inc.
R2014a (8.3.0.532) 64-bit (maci64)
February 11, 2014

To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit http://www.mathworks.com.

>>
tdim =
178

zdim =
[]

assuming slice timing==1, for interleaved ascending, siemens style
Undefined function or variable "fpparams".

Error in read_motion_newslicealg (line 48)
rotmats=fpparams(:,4:12);

>>
< M A T L A B (R) >
Copyright 1984-2014 The MathWorks, Inc.
R2014a (8.3.0.532) 64-bit (maci64)
February 11, 2014

To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit http://www.mathworks.com.
>> using 36 slices, TR=2.000000 seconds

tdim =
178

zdim =
[]

Undefined function or variable "fpparams".

Error in read_motion_newslicealg (line 48)
rotmats=fpparams(:,4:12);

Error in qa_slomoco (line 54)
[outofplane,outofplane6]=read_motion_newslicealg(filestr_out,slice_timing);

Threaded View

TitleAuthorDate
zdim variable is not being defined
Chris Vance Aug 20, 2014
Chris Vance Aug 21, 2014
Erik Beall Aug 22, 2014
Erik Beall Aug 20, 2014