Hi,
I was quite excited downloading k-Wave but I can't get it to work.
Tried 10 of the examples and all give errors.
i.e. "example_tvsp_snells_law.m" gives
===========================================
>> example_tvsp_snells_law
Running k-Wave simulation...
start time: 10-Apr-2013 03:03:27
reference sound speed: 3000m/s
dt: 39.0625ns, t_end: 39.0625us, time steps: 1001
input grid size: 128 by 128 grid points (50 by 50mm)
maximum supported frequency: 1.92MHz
Error using plot_layout (line 68)
Not enough input arguments.
Error in kspaceFirstOrder2D (line 698)
if plot_layout || plot_sim
Error in example_tvsp_snells_law (line 83)
kspaceFirstOrder2D(kgrid, medium, source, [], input_args{:});
>>
======================================
Pretty much all the examples give this type of error!
======================================
example_ivp_photoacoustic_waveforms
Running k-Wave simulation...
start time: 10-Apr-2013 03:04:41
reference sound speed: 1500m/s
dt: 2ns, t_end: 300ns, time steps: 151
input grid size: 64 grid points (1mm)
maximum supported frequency: 48MHz
smoothing p0 distribution...
casting variables to single type...
Error using plot_layout (line 68)
Not enough input arguments.
Error in kspaceFirstOrder1D (line 620)
if plot_layout || plot_sim
Error in example_ivp_photoacoustic_waveforms (line 78)
sensor_data_1D = kspaceFirstOrder1D(kgrid, medium, source, sensor, input_args{:});
============================================
Am I blind, what am I missing. I'm fairly certain that theexamples are not missing any input arguments, how can this be?
cheers
Andy