<?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: ME variable called by kspaceFirstOrder2D</title>
		<link>http://www.k-wave.org/forum/topic/me-variable-called-by-kspacefirstorder2d</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 18:25:35 +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/me-variable-called-by-kspacefirstorder2d" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "ME variable called by kspaceFirstOrder2D"</title>
			<link>http://www.k-wave.org/forum/topic/me-variable-called-by-kspacefirstorder2d#post-6337</link>
			<pubDate>Sat, 10 Mar 2018 20:09:43 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">6337@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Which version of k-Wave are you using? &#60;code&#62;[sensor_data, p_final] = kspaceFirstOrder2D&#60;/code&#62; is not the normal syntax.&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>zain ul abidin on "ME variable called by kspaceFirstOrder2D"</title>
			<link>http://www.k-wave.org/forum/topic/me-variable-called-by-kspacefirstorder2d#post-6336</link>
			<pubDate>Sat, 10 Mar 2018 12:14:51 +0000</pubDate>
			<dc:creator>zain ul abidin</dc:creator>
			<guid isPermaLink="false">6336@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi to all&#60;br /&#62;
i am having problem using the command kspaceFirstOrder2D the following error occurs plz help i m using matlab R2016a&#60;br /&#62;
   'Undefined function or variable 'rho0'.&#60;/p&#62;
&#60;p&#62;Error in kspaceFirstOrder2D (line 538)&#60;br /&#62;
if numDim(rho0) == 2 &#38;amp;&#38;amp; use_sg&#60;/p&#62;
&#60;p&#62;Error in gillion (line 68)&#60;br /&#62;
[sensor_data p_final] = kspaceFirstOrder2D(kgrid, medium, source, sensor,'PlotLayout', true);'
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "ME variable called by kspaceFirstOrder2D"</title>
			<link>http://www.k-wave.org/forum/topic/me-variable-called-by-kspacefirstorder2d#post-136</link>
			<pubDate>Sun, 03 Apr 2011 00:13:57 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">136@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;The statement &#60;code&#62;catch ME&#60;/code&#62; is a standard part of a try-catch statement used to catch MATLAB errors. In this instance, it is checking to see if the user's MATLAB version supports the interpolation function &#60;code&#62;TriScatteredInterp&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;We have only tested the k-Wave functions back to 7.5.0 (R2007b). It appears that your version of MATLAB doesn't support the MATLAB class MException (and perhaps other things). As a work around, try deleting the entire try-catch-end statement and replacing it with lines 683 and 684. Alternatively, you could use a binary sensor mask or set the optional input &#60;code&#62;&#38;#39;CartInterp&#38;#39;&#60;/code&#62; to &#60;code&#62;&#38;#39;nearest&#38;#39;&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;It is possible you may encounter other errors after you have rectified this one as k-Wave has not been developed to officially support your version of MATLAB.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Fabrizio67 on "ME variable called by kspaceFirstOrder2D"</title>
			<link>http://www.k-wave.org/forum/topic/me-variable-called-by-kspacefirstorder2d#post-134</link>
			<pubDate>Sat, 02 Apr 2011 15:10:50 +0000</pubDate>
			<dc:creator>Fabrizio67</dc:creator>
			<guid isPermaLink="false">134@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I just installed the toolbox on a Matlab 7.0 R.14 version (Win XP). Seems everything fine, but while trying running the examples related to the heterogeneous and homogeneous media, the following error pops up:&#60;/p&#62;
&#60;p&#62;??? Undefined function or variable 'ME'.&#60;/p&#62;
&#60;p&#62;Error in ==&#38;gt; kspaceFirstOrder2D at 678&#60;br /&#62;
            catch ME&#60;/p&#62;
&#60;p&#62;Error in ==&#38;gt; example_ivp_heterogeneous_medium at 69&#60;br /&#62;
sensor_data = kspaceFirstOrder2D(kgrid, medium, source, sensor, 'PlotLayout', true, 'PlotPML', false);&#60;/p&#62;
&#60;p&#62;Any suggestion welcome.&#60;br /&#62;
Thank for your attention
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
