i use gui for give the K-Wave's input arguments, such as sound speed and density.
but this errors has shown:
Error using waitbar (line 109)
Improper arguments for waitbar.
Error in kspaceFirstOrder2D (line 1088)
waitbar(t_index/length(t_array), pbar);
Error in test/get_row (line 231)
sensor_data = kspaceFirstOrder2D(kgrid, medium, source, sensor, input_args{:});
Caused by:
Error using getappdata
Invalid object handle
Error while evaluating uicontrol Callback