Error` using fwrite
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in mhd_write (line 61)
cnt=fwrite(fid,im,class(im));
Error in elastix (line 217)
mhd_write(movingImage,movingFname);
Error in example_2D_affine_alpha>runExampleLena (line 52)
reg=elastix(lenaTrans,lena,[],'elastix_default.yml','paramstruct',p);
Error in example_2D_affine_alpha (line 40)
runExampleLena(lenaTrans,lena,p,ind)
the following errors were coming while performing the examples given in the matlab elastix .
please help me to resolve these issues.
Error` using fwrite
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in mhd_write (line 61)
cnt=fwrite(fid,im,class(im));
Error in elastix (line 217)
mhd_write(movingImage,movingFname);
Error in example_2D_affine_alpha>runExampleLena (line 52)
reg=elastix(lenaTrans,lena,[],'elastix_default.yml','paramstruct',p);
Error in example_2D_affine_alpha (line 40)
runExampleLena(lenaTrans,lena,p,ind)
the following errors were coming while performing the examples given in the matlab elastix .
please help me to resolve these issues.