<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>k-Wave User Forum &#187; Topic: All of the examples give errors (Matlab 2012b, yes Path&#039;s are set!)</title>
		<link>http://www.k-wave.org/forum/topic/all-of-the-examples-give-errors-matlab-2012b-yes-paths-are-set</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 01:11:21 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-wave.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.k-wave.org/forum/rss/topic/all-of-the-examples-give-errors-matlab-2012b-yes-paths-are-set" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "All of the examples give errors (Matlab 2012b, yes Path&#039;s are set!)"</title>
			<link>http://www.k-wave.org/forum/topic/all-of-the-examples-give-errors-matlab-2012b-yes-paths-are-set#post-2242</link>
			<pubDate>Fri, 12 Apr 2013 08:14:18 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">2242@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;It seems that this function might be conflicting with the k-Wave variable of the same name. If you temporarily rename your function to something else, do the toolbox examples then run?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>abrand on "All of the examples give errors (Matlab 2012b, yes Path&#039;s are set!)"</title>
			<link>http://www.k-wave.org/forum/topic/all-of-the-examples-give-errors-matlab-2012b-yes-paths-are-set#post-2227</link>
			<pubDate>Thu, 11 Apr 2013 20:10:08 +0000</pubDate>
			<dc:creator>abrand</dc:creator>
			<guid isPermaLink="false">2227@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;yes I do!&#60;/p&#62;
&#60;p&#62;&#60;code&#62;open plot_layout&#60;/code&#62; opens that function, as expected! Any further ideas as to why it doesn't work?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "All of the examples give errors (Matlab 2012b, yes Path&#039;s are set!)"</title>
			<link>http://www.k-wave.org/forum/topic/all-of-the-examples-give-errors-matlab-2012b-yes-paths-are-set#post-2147</link>
			<pubDate>Wed, 10 Apr 2013 06:58:44 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">2147@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Andy,&#60;/p&#62;
&#60;p&#62;Do you have a user function called &#60;code&#62;plot_layout&#60;/code&#62; somewhere on your path? What happens if you type &#60;code&#62;open plot_layout&#60;/code&#62;?&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>abrand on "All of the examples give errors (Matlab 2012b, yes Path&#039;s are set!)"</title>
			<link>http://www.k-wave.org/forum/topic/all-of-the-examples-give-errors-matlab-2012b-yes-paths-are-set#post-2136</link>
			<pubDate>Wed, 10 Apr 2013 02:06:17 +0000</pubDate>
			<dc:creator>abrand</dc:creator>
			<guid isPermaLink="false">2136@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I was quite excited downloading k-Wave but I can't get it to work.&#60;br /&#62;
Tried 10 of the examples and all give errors.&#60;/p&#62;
&#60;p&#62;i.e.  &#34;example_tvsp_snells_law.m&#34;  gives&#60;br /&#62;
===========================================&#60;br /&#62;
&#38;gt;&#38;gt; example_tvsp_snells_law&#60;br /&#62;
Running k-Wave simulation...&#60;br /&#62;
  start time: 10-Apr-2013 03:03:27&#60;br /&#62;
  reference sound speed: 3000m/s&#60;br /&#62;
  dt: 39.0625ns, t_end: 39.0625us, time steps: 1001&#60;br /&#62;
  input grid size: 128 by 128 grid points (50 by 50mm)&#60;br /&#62;
  maximum supported frequency: 1.92MHz&#60;br /&#62;
Error using plot_layout (line 68)&#60;br /&#62;
Not enough input arguments.&#60;/p&#62;
&#60;p&#62;Error in kspaceFirstOrder2D (line 698)&#60;br /&#62;
if plot_layout &#124;&#124; plot_sim&#60;/p&#62;
&#60;p&#62;Error in example_tvsp_snells_law (line 83)&#60;br /&#62;
kspaceFirstOrder2D(kgrid, medium, source, [], input_args{:});&#60;br /&#62;
&#38;gt;&#38;gt;&#60;br /&#62;
======================================&#60;/p&#62;
&#60;p&#62;Pretty much all the examples give this type of error!&#60;/p&#62;
&#60;p&#62;======================================&#60;br /&#62;
 example_ivp_photoacoustic_waveforms&#60;br /&#62;
Running k-Wave simulation...&#60;br /&#62;
  start time: 10-Apr-2013 03:04:41&#60;br /&#62;
  reference sound speed: 1500m/s&#60;br /&#62;
  dt: 2ns, t_end: 300ns, time steps: 151&#60;br /&#62;
  input grid size: 64 grid points (1mm)&#60;br /&#62;
  maximum supported frequency: 48MHz&#60;br /&#62;
  smoothing p0 distribution...&#60;br /&#62;
  casting variables to single type...&#60;br /&#62;
Error using plot_layout (line 68)&#60;br /&#62;
Not enough input arguments.&#60;/p&#62;
&#60;p&#62;Error in kspaceFirstOrder1D (line 620)&#60;br /&#62;
if plot_layout &#124;&#124; plot_sim&#60;/p&#62;
&#60;p&#62;Error in example_ivp_photoacoustic_waveforms (line 78)&#60;br /&#62;
sensor_data_1D = kspaceFirstOrder1D(kgrid, medium, source, sensor, input_args{:});&#60;br /&#62;
============================================&#60;/p&#62;
&#60;p&#62;Am I blind, what am I missing. I'm fairly certain that theexamples are not missing any input arguments, how can this be?&#60;/p&#62;
&#60;p&#62;cheers&#60;br /&#62;
Andy
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
