Hi! I'm an undergraduate student relatively new to k-wave and keep running into a persistent issue. I'm using the most up to date version of the toolbox, and am trying to simulate ultrasound passing through a CT of a human skull, but every time I encounter the kspaceFirstOrder3D code, I get the same error.
Error using nargout
You can only call nargin/nargout from within a MATLAB function.
Error in kspaceFirstOrder_inputchecking (line 33)
if nargout == 2 && ~strcmp(calling_func(3).name, 'benchmark')
Error in kspaceFirstOrder3D (line 495)
kspaceFirstOrder_inputChecking;
I am truly stumped on this, as I've doubled checked everything, including old forum posts, and cannot figure this out. Any help would be much appreciated!!