I couldn't use the code you have given above, Could you please provide a bit more explanation?
csEC = crystalSymmetry('m-3m',[3.6599 3.6599 3.6599],[90.0000 90.0000 90.0000]*degree,'x||a','z||c','mineral','Iron fcc', 'color', 'light blue');% orientations of phase/grain from ebsdgo=grains(1).meanOrientation;
% assuming both, your ebsd and CS above have not the same reference% frame use transformReferenceFramego = transformReferenceFrame(go,csEC); % in case
% other wise% rotate the tensile direction which is xvector in this case, into crystal coordiantes
yc=inv(go).*xvector;
mineral: Iron fcc (m-3m) h 3.1103 k 0.8758 l -1.7188