<?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: Errors when running in example_ewp_3D_simulation?</title>
		<link>http://www.k-wave.org/forum/topic/errors-when-running-in-example_ewp_3d_simulation</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 02:30:32 +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/errors-when-running-in-example_ewp_3d_simulation" rel="self" type="application/rss+xml" />

		<item>
			<title>uhultrasound on "Errors when running in example_ewp_3D_simulation?"</title>
			<link>http://www.k-wave.org/forum/topic/errors-when-running-in-example_ewp_3d_simulation#post-5613</link>
			<pubDate>Wed, 27 Jul 2016 15:41:13 +0000</pubDate>
			<dc:creator>uhultrasound</dc:creator>
			<guid isPermaLink="false">5613@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Brad,&#60;/p&#62;
&#60;p&#62;Thank you very much for your reply. When I tested it in Mablab 2013b, the error is repeatable. Since I have replaced the 2013b with 2016a, unfortunately I am unable to test it in 2013b any more. &#60;/p&#62;
&#60;p&#62;But thank you very much for sharing the wonderful program and answering questions, have a great day!&#60;/p&#62;
&#60;p&#62;John
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "Errors when running in example_ewp_3D_simulation?"</title>
			<link>http://www.k-wave.org/forum/topic/errors-when-running-in-example_ewp_3d_simulation#post-5602</link>
			<pubDate>Wed, 27 Jul 2016 09:15:02 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5602@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi John,&#60;/p&#62;
&#60;p&#62;Thanks for reporting. Is the error in MATLAB 2013b repeatable? If you add the line:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;which plot_scale&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;before the line that throws and error, what is the output?&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>uhultrasound on "Errors when running in example_ewp_3D_simulation?"</title>
			<link>http://www.k-wave.org/forum/topic/errors-when-running-in-example_ewp_3d_simulation#post-5596</link>
			<pubDate>Tue, 26 Jul 2016 20:51:46 +0000</pubDate>
			<dc:creator>uhultrasound</dc:creator>
			<guid isPermaLink="false">5596@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi, when I tested it in Matlab 2016a, there were no errors any more. Many thanks, John
&#60;/p&#62;</description>
		</item>
		<item>
			<title>uhultrasound on "Errors when running in example_ewp_3D_simulation?"</title>
			<link>http://www.k-wave.org/forum/topic/errors-when-running-in-example_ewp_3d_simulation#post-5594</link>
			<pubDate>Mon, 25 Jul 2016 17:40:44 +0000</pubDate>
			<dc:creator>uhultrasound</dc:creator>
			<guid isPermaLink="false">5594@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I am testing the example_ewp_3D_simulation in Matlab 2013b in Windows 7. I encountered some errors as follows:&#60;/p&#62;
&#60;p&#62;1. &#34;Error: File: pstdElastic3D.m Line: 1096 Column: 74&#60;br /&#62;
The end operator must be used within an array index expression.&#34;&#60;/p&#62;
&#60;p&#62;The error line of File: pstdElastic3D.m Line: 1096 Column: 74 is &#34;sij_plot(sensor.mask(x1:x2, y1:y2, z1:z2) ~= 0) = plot_scale(end);&#34;&#60;/p&#62;
&#60;p&#62;2. If I replaced the end operator with a real number (e.g. 64) as follows:&#60;br /&#62;
            &#34;sij_plot(sensor.mask(x1:x2, y1:y2, z1:z2) ~= 0) = plot_scale(64);&#34;&#60;br /&#62;
then, I got errors as follows:&#60;br /&#62;
&#34;Error using plot_scale&#60;br /&#62;
Too many output arguments.&#34;&#60;/p&#62;
&#60;p&#62;I was wondering if you could please help me with it?&#60;/p&#62;
&#60;p&#62;Many thanks,&#60;/p&#62;
&#60;p&#62;John
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
