% create the computational grid
Nx = 64; % number of grid points in the x direction
Ny = 64; % number of grid points in the y direction
Nz = 64; % number of grid points in the z direction
dx = 0.1e-3; % grid point spacing in the x direction [m]
dy = 0.1e-3; % grid point spacing in the y direction [m]
dz = 0.1e-3; % grid point spacing in the z direction [m]
kgrid = kWaveGrid(Nx, dx, Ny, dy, Nz, dz);
% define the properties of the propagation medium
medium.sound_speed = 1500 * ones(Nx, Ny, Nz); % [m/s]
medium.sound_speed(1:Nx/2, :, :) = 1800; % [m/s]
medium.density = 1000 * ones(Nx, Ny, Nz); % [kg/m^3]
medium.density(:, Ny/4:end, :) = 1200; % [kg/m^3]
% create initial pressure distribution using makeBall
ball_magnitude = 10; % [Pa]
ball_x_pos = 38; % [grid points]
ball_y_pos = 32; % [grid points]
ball_z_pos = 32; % [grid points]
ball_radius = 5; % [grid points]
ball_1 = ball_magnitude * makeBall(Nx, Ny, Nz, ball_x_pos, ball_y_pos, ball_z_pos, ball_radius);
source.p0 = ball_1;
% define a series of Cartesian points to collect the data
sensor.mask = zeros(Nx, Ny,Nz);
sensor.mask(Nx/2:Nx/2+5, Ny/2:Ny/2 +5,Nz/2:Nz/2 +5) = 1;
filename = 'example_input11.h5';
% run the simulation
kspaceFirstOrder3D(kgrid, medium, source, sensor,'SaveToDisk',filename);
#######################################################################
IN COMMAND LINE:
>> kspaceFirstOrder-OMP.exe -i example_input11.h5 -o example_output11.h5
################################################## OUTPUT ####################
+---------------------------------------------------------------+
| kspaceFirstOrder-OMP v1.3 |
+---------------------------------------------------------------+
| Reading simulation configuration: Failed |
+---------------------------------------------------------------+
+---------------------------------------------------------------+
| !!! K-Wave experienced a fatal error !!! |
+---------------------------------------------------------------+
| Error: Invalid format of the input file: iostream stream |
| error |
+---------------------------------------------------------------+
| Execution terminated |
+---------------------------------------------------------------+
I can't find the solution please help me to solve it.....