Hello
I get the following error when i use the kspaceFirstOrder2DG:
Running k-Wave simulation...
start time: 17-Dec-2023 17:28:54
reference sound speed: 2783.7252m/s
dt: 10.7769ns, t_end: 48.2699us, time steps: 4480
input grid size: 512 by 512 grid points (51.2 by 51.2mm)
maximum supported frequency: 7.5MHz
expanding computational grid...
computational grid size: 552 by 552 grid points
WARNING: Highest prime factors in each dimension are 23 23
Use dimension sizes with lower prime factors to improve speed
precomputation completed in 0.083601s
saving input files to disk...
函数或变量 'attvalue_size' 无法识别。
出错 h5writeatt>createDatatypeId (line 186)
elseif attvalue_size > 0
出错 h5writeatt (line 86)
datatypeId = createDatatypeId(Attvalue, useUtf8);
出错 writeMatrix (line 211)
h5writeatt(filename, ['/' matrix_name], DOMAIN_TYPE_ATT_NAME, domain_type, 'TextEncoding', 'system');
出错 kspaceFirstOrder_saveToDisk (line 462)
writeMatrix(flags.save_to_disk, eval(variable_list{cast_index}), variable_list{cast_index}, hdf_compression_level);
出错 kspaceFirstOrder2D (line 620)
kspaceFirstOrder_saveToDisk;
出错 kspaceFirstOrder3DC (line 532)
eval(run_string);
出错 kspaceFirstOrder2DG (line 76)
sensor_data = kspaceFirstOrder3DC(varargin{:});
出错 mydataset (line 69)
sensor_data = kspaceFirstOrder2DG(kgrid, medium, source, sensor, input_args{:});