Hi all,
I encounted an error reported by Matlab when I was running the kspaceFirstOrder3DC() in the toolbox example,'example_cpp_running_simulations.m' with setting example_number = 3 (i.e. testing case 3), and I also got a similar error while testing case 2. I am using the toolbox in Mac and Matlab2016a. I tried to run the the program would stop in the middle with the error:
case 3 error:
/bin/bash: ./kspaceFirstOrder3D-OMP: Permission denied
Error using h5readc
Unable to open file. Filename may be
corrupt or have unsupported characters.
Error in h5read (line 58)
[data,var_class] =
h5readc(Filename,Dataset,start,count,stride);
Error in kspaceFirstOrder3DC (line 348)
Nx = h5read(output_filename, '/Nx');
Error in example_cpp_running_simulations
(line 131)
sensor_data =
kspaceFirstOrder3DC(kgrid,
medium, source, sensor,
input_args{:});
case 2 error:
Error using h5readc
Unable to open file. Filename may be
corrupt or have unsupported characters.
Error in h5read (line 58)
[data,var_class] =
h5readc(Filename,Dataset,start,count,stride);
Error in example_cpp_running_simulations
(line 122)
sensor_data.p_final =
h5read([pathname
output_filename], '/p_final');
Is the error because of the Mac system? Or does anyone have a solution to this error?
Many thanks in advanced.
Frankie