raacampbell / matlab_elastix

MATLAB Elastix wrapper
http://www.mathworks.com/matlabcentral/fileexchange/52982-matlab-elastix
GNU Lesser General Public License v3.0
26 stars 12 forks source link

Unrecognized function or variable 'paramFname'. #29

Closed yuanci89 closed 3 years ago

yuanci89 commented 3 years ago

I'm trying to use this (for the first time), and I keep getting an error, I think it's trying to call 'paramFname' before it has been initialized.

I pasted what I'm seeing below. Angiorun and MPRresize are both 512x512x497 matrices, I am basically just trying to do a rigid transformation.

elastix(Angiorun,MPRresize,'C:\Users\yuanc\Dropbox (University of Michigan)[ASNR ASFNR AI Workshop]\test\','C:\Users\yuanc\Dropbox (University of Michigan)[ASNR ASFNR AI Workshop]\matlab_elastix-master\example_parameter_files\parameters_Rigid.txt') Unrecognized function or variable 'paramFname'.

Error in elastix (line 247) copyfile(paramFname,outputDir)

raacampbell commented 3 years ago

Surprisingly you are the first person to try this use case. It was a bug that is now fixed: ba084dc4f31d128bebb27b46185eba0658c270f8

Thanks for providing a clear report of the problem.