<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://cmpdartsvr3.cmp.uea.ac.uk/index.php?action=history&amp;feed=atom&amp;title=GPT_tut_interaction_20110530_on_creating</id>
	<title>GPT tut interaction 20110530 on creating - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://cmpdartsvr3.cmp.uea.ac.uk/index.php?action=history&amp;feed=atom&amp;title=GPT_tut_interaction_20110530_on_creating"/>
	<link rel="alternate" type="text/html" href="http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;action=history"/>
	<updated>2026-05-19T05:44:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5187&amp;oldid=prev</id>
		<title>AndrewBangham at 19:12, 30 May 2011</title>
		<link rel="alternate" type="text/html" href="http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5187&amp;oldid=prev"/>
		<updated>2011-05-30T19:12:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;amp;diff=5187&amp;amp;oldid=5186&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>AndrewBangham</name></author>
	</entry>
	<entry>
		<id>http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5186&amp;oldid=prev</id>
		<title>AndrewBangham at 19:06, 30 May 2011</title>
		<link rel="alternate" type="text/html" href="http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5186&amp;oldid=prev"/>
		<updated>2011-05-30T19:06:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:06, 30 May 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Tutorial on the interaction function details|Tutorial on the interaction function details]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Tutorial on the interaction function details|Tutorial on the interaction function details]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&quot;color: CornflowerBlue&quot;&amp;gt;&#039;&#039;&#039;This file was &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;output &lt;/del&gt;automatically on clicking Panel: Edit in the newly saved project called GPT tut interaction 20110530&#039;&#039;&#039;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&quot;color: CornflowerBlue&quot;&amp;gt;&#039;&#039;&#039;This file was &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;placed in the Matlab Editor &lt;/ins&gt;automatically on clicking Panel: Edit in the newly saved project called GPT tut interaction 20110530&#039;&#039;&#039;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;span style=&amp;quot;color: CornflowerBlue&amp;quot;&amp;gt;Section 1&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &amp;lt;span style=&amp;quot;color: CornflowerBlue&amp;quot;&amp;gt;Section 1&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      function m = gpt_tut_interaction_20110530( m )&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      function m = gpt_tut_interaction_20110530( m )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bl_wiki:diff:1.41:old-5185:rev-5186:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>AndrewBangham</name></author>
	</entry>
	<entry>
		<id>http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5185&amp;oldid=prev</id>
		<title>AndrewBangham at 19:05, 30 May 2011</title>
		<link rel="alternate" type="text/html" href="http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5185&amp;oldid=prev"/>
		<updated>2011-05-30T19:05:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;amp;diff=5185&amp;amp;oldid=5182&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>AndrewBangham</name></author>
	</entry>
	<entry>
		<id>http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5182&amp;oldid=prev</id>
		<title>AndrewBangham at 18:45, 30 May 2011</title>
		<link rel="alternate" type="text/html" href="http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5182&amp;oldid=prev"/>
		<updated>2011-05-30T18:45:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:45, 30 May 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot;&gt;Line 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              case &amp;#039;MODEL1&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              case &amp;#039;MODEL1&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                  &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% Set up the parameters (e.g. mutations) for this model here.&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                  &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% Set up the parameters (e.g. mutations) for this model here.&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &amp;lt;span style=&quot;color: CornflowerBlue&quot;&amp;gt;Section 10&amp;lt;/span&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              case &amp;#039;MODEL2&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              case &amp;#039;MODEL2&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                  &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% Set up the parameters (e.g. mutations) for this model here.&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                  &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% Set up the parameters (e.g. mutations) for this model here.&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l233&quot;&gt;Line 233:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 232:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% Every equation to be formatted should end with an at-at Eqn N comment.&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% Every equation to be formatted should end with an at-at Eqn N comment.&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &amp;lt;span style=&quot;color: CornflowerBlue&quot;&amp;gt;Section 10&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% Code for specific models.&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% Code for specific models.&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          switch modelname&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          switch modelname&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l253&quot;&gt;Line 253:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 253:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                  kbper_p(:) = kapar_p; &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% same&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                  kbper_p(:) = kapar_p; &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% same&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                  knor_p(:)  = 0;       &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% thickness not growing&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                  knor_p(:)  = 0;       &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% thickness not growing&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &amp;lt;span style=&quot;color: CornflowerBlue&quot;&amp;gt;Section 10&amp;lt;/span&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              case &amp;#039;MODEL2&amp;#039;  &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% @@model MODEL2&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              case &amp;#039;MODEL2&amp;#039;  &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% @@model MODEL2&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                  &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% @@PRN Polariser Regulatory Network&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                  &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% @@PRN Polariser Regulatory Network&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l296&quot;&gt;Line 296:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 295:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;%%% USER CODE: FINALISATION&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;%%% USER CODE: FINALISATION&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &amp;lt;span style=&quot;color: CornflowerBlue&quot;&amp;gt;Section 2&amp;lt;/span&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% In this section you may modify the mesh in any way whatsoever.&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          &amp;lt;span style=&amp;quot;color: Green&amp;quot;&amp;gt;% In this section you may modify the mesh in any way whatsoever.&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bl_wiki:diff:1.41:old-5190:rev-5182:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>AndrewBangham</name></author>
	</entry>
	<entry>
		<id>http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5190&amp;oldid=prev</id>
		<title>AndrewBangham at 17:56, 30 May 2011</title>
		<link rel="alternate" type="text/html" href="http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5190&amp;oldid=prev"/>
		<updated>2011-05-30T17:56:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:56, 30 May 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;color: CornflowerBlue&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;This file was output automatically on clicking Panel: Edit in the newly saved project called GPT tut interaction 20110530&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;color: CornflowerBlue&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;This file was output automatically on clicking Panel: Edit in the newly saved project called GPT tut interaction 20110530&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The code has been divided into Sections to help with the tutorial.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The code has been divided into Sections to help with the tutorial.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;Section 1 Automatic&#039;&#039;&#039;&amp;lt;/span&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &amp;lt;span style=&quot;color: CornflowerBlue&quot;&amp;gt;Section 1 (automatic)&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    function m = gpt_tut_interaction_20110530( m )&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;     function m = gpt_tut_interaction_20110530( m )&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    %m = gpt_tut_interaction_20110530( m )&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         &amp;lt;span style=&quot;color: Green&quot;&amp;gt;%m = gpt_tut_interaction_20110530( m )&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    %   Morphogen interaction function.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         &amp;lt;span style=&quot;color: Green&quot;&amp;gt;%   Morphogen interaction function.&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    %   Written at 2011-05-30 09:42:07.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         &amp;lt;span style=&quot;color: Green&quot;&amp;gt;%   Written at 2011-05-30 09:42:07.&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    %   GFtbox revision 0, .&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         &amp;lt;span style=&quot;color: Green&quot;&amp;gt;%   GFtbox revision 0, .&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    % The user may edit any part of this function between delimiters&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    % of the form &quot;USER CODE...&quot; and &quot;END OF USER CODE...&quot;.  The&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         &amp;lt;span style=&quot;color: Green&quot;&amp;gt;% The user may edit any part of this function between delimiters&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    % delimiters themselves must not be moved, edited, deleted, or added.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         &amp;lt;span style=&quot;color: Green&quot;&amp;gt;% of the form &quot;USER CODE...&quot; and &quot;END OF USER CODE...&quot;.  The&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        if isempty(m), return; end&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         &amp;lt;span style=&quot;color: Green&quot;&amp;gt;% delimiters themselves must not be moved, edited, deleted, or added.&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        fprintf( 1, &#039;%s found in %s\n&#039;, mfilename(), which(mfilename()) );&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        try&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         if isempty(m), return; end&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            m = local_setproperties( m );&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        catch&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         fprintf( 1, &#039;&amp;lt;span style=&quot;color: Green&quot;&amp;gt;%s found in %s\n&#039;, mfilename(), which(mfilename()) );&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        end&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        realtime = m.globalDynamicProps.currenttime;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         try&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    %%% USER CODE: INITIALISATION&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;             m = local_setproperties( m );&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;span style=&quot;color: CornflowerBlue&quot;&amp;gt;&#039;&#039;&#039;Section 2&#039;&#039;&#039;&amp;lt;/span&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         catch&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         end&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    % In this section you may modify the mesh in any way whatsoever.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        if (Steps(m)==0) &amp;amp;&amp;amp; m.globalDynamicProps.doinit % First iteration&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         realtime = m.globalDynamicProps.currenttime;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            % Zero out a lot of stuff to create a blank slate.  &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            % If no morphogens are set in the GUI it may be useful to&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         &amp;lt;span style=&quot;color: Green&quot;&amp;gt;%%% USER CODE: INITIALISATION&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            % zero some arrays by uncommenting the following.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            % m.morphogens(:) = 0;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &amp;lt;span style=&quot;color: CornflowerBlue&quot;&amp;gt;Section 2&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            % m.morphogenclamp(:) = 0;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         &amp;lt;span style=&quot;color: Green&quot;&amp;gt;% In this section you may modify the mesh in any way whatsoever.&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            % m.mgen_production(:) = 0;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;         if (Steps(m)==0) &amp;amp;&amp;amp; m.globalDynamicProps.doinit &amp;lt;span style=&quot;color: Green&quot;&amp;gt;% First iteration&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            % m.mgen_absorption(:) = 0;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;             &amp;lt;span style=&quot;color: Green&quot;&amp;gt;% Zero out a lot of stuff to create a blank slate.&amp;lt;/span&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            % m.seams(:) = false;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;             &amp;lt;span style=&quot;color: Green&quot;&amp;gt;% If no morphogens &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            % m.mgen_dilution(:) = false;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            % Set up names for variant models.  Useful for running multiple models on a cluster.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            m.userdata.ranges.modelname.range = { &#039;MODEL1&#039;, &#039;MODEL2&#039; };  % CLUSTER&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;            m.userdata.ranges.modelname.index = 1&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bl_wiki:diff:1.41:old-5189:rev-5190:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>AndrewBangham</name></author>
	</entry>
	<entry>
		<id>http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5189&amp;oldid=prev</id>
		<title>AndrewBangham at 10:34, 30 May 2011</title>
		<link rel="alternate" type="text/html" href="http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5189&amp;oldid=prev"/>
		<updated>2011-05-30T10:34:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:34, 30 May 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Tutorial on the interaction function details|Tutorial on the interaction function details]]&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;color: CornflowerBlue&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;This file was output automatically on clicking Panel: Edit in the newly saved project called GPT tut interaction 20110530&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&amp;quot;color: CornflowerBlue&amp;quot;&amp;gt;&amp;#039;&amp;#039;&amp;#039;This file was output automatically on clicking Panel: Edit in the newly saved project called GPT tut interaction 20110530&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The code has been divided into Sections to help with the tutorial.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The code has been divided into Sections to help with the tutorial.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bl_wiki:diff:1.41:old-5184:rev-5189:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>AndrewBangham</name></author>
	</entry>
	<entry>
		<id>http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5184&amp;oldid=prev</id>
		<title>AndrewBangham at 10:32, 30 May 2011</title>
		<link rel="alternate" type="text/html" href="http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5184&amp;oldid=prev"/>
		<updated>2011-05-30T10:32:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:32, 30 May 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&quot;color: CornflowerBlue&quot;&amp;gt;&#039;&#039;&#039;This file &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is &lt;/del&gt;output automatically on clicking Panel: Edit in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a &lt;/del&gt;newly saved project&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. &lt;/del&gt;&#039;&#039;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;span style=&quot;color: CornflowerBlue&quot;&amp;gt;&#039;&#039;&#039;This file &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;was &lt;/ins&gt;output automatically on clicking Panel: Edit in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/ins&gt;newly saved project &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;called GPT tut interaction 20110530&lt;/ins&gt;&#039;&#039;&#039;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Once the file has been edited save it in the usual way from the Matlab editor.  The project as whole can be saved under a different name using Panel: Save as. This will automatically create a new copy of the current interaction function, but with the new name and in the new project directory.&lt;/del&gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The code has been divided into Sections to help with the tutorial.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The code has been divided into Sections to help with the tutorial.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Section 1 Automatic&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Section 1 Automatic&amp;#039;&amp;#039;&amp;#039;&amp;lt;/span&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bl_wiki:diff:1.41:old-5188:rev-5184:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>AndrewBangham</name></author>
	</entry>
	<entry>
		<id>http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5188&amp;oldid=prev</id>
		<title>AndrewBangham at 10:31, 30 May 2011</title>
		<link rel="alternate" type="text/html" href="http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5188&amp;oldid=prev"/>
		<updated>2011-05-30T10:31:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;amp;diff=5188&amp;amp;oldid=5183&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>AndrewBangham</name></author>
	</entry>
	<entry>
		<id>http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5183&amp;oldid=prev</id>
		<title>AndrewBangham: Created page with &#039;function m = gpt_tut_interaction_20110530( m ) %m = gpt_tut_interaction_20110530( m ) %   Morphogen interaction function. %   Written at 2011-05-30 09:42:07. %   GFtbox revision …&#039;</title>
		<link rel="alternate" type="text/html" href="http://cmpdartsvr3.cmp.uea.ac.uk/wiki/BanghamLab/index.php?title=GPT_tut_interaction_20110530_on_creating&amp;diff=5183&amp;oldid=prev"/>
		<updated>2011-05-30T10:23:45Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;function m = gpt_tut_interaction_20110530( m ) %m = gpt_tut_interaction_20110530( m ) %   Morphogen interaction function. %   Written at 2011-05-30 09:42:07. %   GFtbox revision …&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;function m = gpt_tut_interaction_20110530( m )&lt;br /&gt;
%m = gpt_tut_interaction_20110530( m )&lt;br /&gt;
%   Morphogen interaction function.&lt;br /&gt;
%   Written at 2011-05-30 09:42:07.&lt;br /&gt;
%   GFtbox revision 0, .&lt;br /&gt;
&lt;br /&gt;
% The user may edit any part of this function between delimiters&lt;br /&gt;
% of the form &amp;quot;USER CODE...&amp;quot; and &amp;quot;END OF USER CODE...&amp;quot;.  The&lt;br /&gt;
% delimiters themselves must not be moved, edited, deleted, or added.&lt;br /&gt;
&lt;br /&gt;
    if isempty(m), return; end&lt;br /&gt;
&lt;br /&gt;
    fprintf( 1, &amp;#039;%s found in %s\n&amp;#039;, mfilename(), which(mfilename()) );&lt;br /&gt;
&lt;br /&gt;
    try&lt;br /&gt;
        m = local_setproperties( m );&lt;br /&gt;
    catch&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    realtime = m.globalDynamicProps.currenttime;&lt;br /&gt;
&lt;br /&gt;
%%% USER CODE: INITIALISATION&lt;br /&gt;
&lt;br /&gt;
% In this section you may modify the mesh in any way whatsoever.&lt;br /&gt;
    if (Steps(m)==0) &amp;amp;&amp;amp; m.globalDynamicProps.doinit % First iteration&lt;br /&gt;
        % Zero out a lot of stuff to create a blank slate.  &lt;br /&gt;
        % If no morphogens are set in the GUI it may be useful to&lt;br /&gt;
        % zero some arrays by uncommenting the following.&lt;br /&gt;
        % m.morphogens(:) = 0;&lt;br /&gt;
        % m.morphogenclamp(:) = 0;&lt;br /&gt;
        % m.mgen_production(:) = 0;&lt;br /&gt;
        % m.mgen_absorption(:) = 0;&lt;br /&gt;
        % m.seams(:) = false;&lt;br /&gt;
        % m.mgen_dilution(:) = false;&lt;br /&gt;
&lt;br /&gt;
        % Set up names for variant models.  Useful for running multiple models on a cluster.&lt;br /&gt;
        m.userdata.ranges.modelname.range = { &amp;#039;MODEL1&amp;#039;, &amp;#039;MODEL2&amp;#039; };  % CLUSTER&lt;br /&gt;
        m.userdata.ranges.modelname.index = 1;                       % CLUSTER&lt;br /&gt;
    end&lt;br /&gt;
    modelname = m.userdata.ranges.modelname.range{m.userdata.ranges.modelname.index};  % CLUSTER&lt;br /&gt;
    disp(sprintf(&amp;#039;\nRunning %s model %s\n&amp;#039;,mfilename, modelname));&lt;br /&gt;
    switch modelname&lt;br /&gt;
        case &amp;#039;MODEL1&amp;#039;&lt;br /&gt;
            % Set up the parameters (e.g. mutations) for this model here.&lt;br /&gt;
        case &amp;#039;MODEL2&amp;#039;&lt;br /&gt;
            % Set up the parameters (e.g. mutations) for this model here.&lt;br /&gt;
        otherwise&lt;br /&gt;
            % If you reach here, you probably forgot a case.&lt;br /&gt;
    end&lt;br /&gt;
    	&lt;br /&gt;
    % More examples of code for all iterations.&lt;br /&gt;
&lt;br /&gt;
    % Set priorities for simultaneous plotting of multiple morphogens, if desired.&lt;br /&gt;
    % m = leaf_mgen_plotpriority( m, {&amp;#039;MGEN1&amp;#039;, &amp;#039;MGEN2&amp;#039;}, [1,2], [0.5,0.75] );&lt;br /&gt;
&lt;br /&gt;
    % Set colour of polariser gradient arrows.&lt;br /&gt;
    % m = leaf_plotoptions(m,&amp;#039;highgradcolor&amp;#039;,[0,0,0],&amp;#039;lowgradcolor&amp;#039;,[1,0,0]);&lt;br /&gt;
&lt;br /&gt;
    % setup a multiplot of the following morphogens&lt;br /&gt;
    % m = leaf_plotoptions( m, &amp;#039;morphogen&amp;#039;, {&amp;#039;V_PROFILE1&amp;#039;,&amp;#039;V_PROFILE2&amp;#039;,&amp;#039;KAPAR&amp;#039;,&amp;#039;S_LEFTRIGHT&amp;#039;});&lt;br /&gt;
&lt;br /&gt;
    % to plot polariser on the A side and resultant areal growth rate on the B side:&lt;br /&gt;
    % m = leaf_plotoptions( m, &amp;#039;morphogenA&amp;#039;, &amp;#039;POLARISER&amp;#039;, ...&lt;br /&gt;
    %                      &amp;#039;outputquantityB&amp;#039;, &amp;#039;resultantgrowthrate&amp;#039;, ...&lt;br /&gt;
    %                      &amp;#039;outputaxesB&amp;#039;, &amp;#039;areal&amp;#039; );&lt;br /&gt;
&lt;br /&gt;
    % monitor properties of vertices must be done here - so that it reports newly equilibrated levels&lt;br /&gt;
    % m=leaf_profile_monitor(m,... % essential&lt;br /&gt;
    %         &amp;#039;REGIONLABELS&amp;#039;,{&amp;#039;V_PROFILE1&amp;#039;,&amp;#039;V_PROFILE2&amp;#039;},... % essential&lt;br /&gt;
    %         &amp;#039;MORPHOGENS&amp;#039;,{&amp;#039;S_LEFTRIGHT&amp;#039;,&amp;#039;S_CENTRE&amp;#039;},... % optional  (one element per REGIONLABEL)&lt;br /&gt;
    %         &amp;#039;VERTLABELS&amp;#039;,false,&amp;#039;FigNum&amp;#039;,1,&amp;#039;EXCEL&amp;#039;,true,&amp;#039;MODELNAME&amp;#039;,modelname); % optional (file in snapshots directory&amp;#039;)&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
%%% END OF USER CODE: INITIALISATION&lt;br /&gt;
&lt;br /&gt;
%%% SECTION 1: ACCESSING MORPHOGENS AND TIME.&lt;br /&gt;
%%% AUTOMATICALLY GENERATED CODE: DO NOT EDIT.&lt;br /&gt;
&lt;br /&gt;
    if isempty(m), return; end&lt;br /&gt;
&lt;br /&gt;
    setGlobals();&lt;br /&gt;
    global gNEW_KA_PAR gNEW_KA_PER gNEW_KB_PAR gNEW_KB_PER&lt;br /&gt;
    global gNEW_K_NOR gNEW_POLARISER gNEW_STRAINRET gNEW_ARREST&lt;br /&gt;
    dt = m.globalProps.timestep;&lt;br /&gt;
    polariser_i = gNEW_POLARISER;&lt;br /&gt;
    P = m.morphogens(:,polariser_i);&lt;br /&gt;
    [kapar_i,kapar_p,kapar_a,kapar_l] = getMgenLevels( m, &amp;#039;KAPAR&amp;#039; );&lt;br /&gt;
    [kaper_i,kaper_p,kaper_a,kaper_l] = getMgenLevels( m, &amp;#039;KAPER&amp;#039; );&lt;br /&gt;
    [kbpar_i,kbpar_p,kbpar_a,kbpar_l] = getMgenLevels( m, &amp;#039;KBPAR&amp;#039; );&lt;br /&gt;
    [kbper_i,kbper_p,kbper_a,kbper_l] = getMgenLevels( m, &amp;#039;KBPER&amp;#039; );&lt;br /&gt;
    [knor_i,knor_p,knor_a,knor_l] = getMgenLevels( m, &amp;#039;KNOR&amp;#039; );&lt;br /&gt;
    [strainret_i,strainret_p,strainret_a,strainret_l] = getMgenLevels( m, &amp;#039;STRAINRET&amp;#039; );&lt;br /&gt;
    [arrest_i,arrest_p,arrest_a,arrest_l] = getMgenLevels( m, &amp;#039;ARREST&amp;#039; );&lt;br /&gt;
    [id_plusorg_i,id_plusorg_p,id_plusorg_a,id_plusorg_l] = getMgenLevels( m, &amp;#039;ID_PLUSORG&amp;#039; );&lt;br /&gt;
    [id_negorg_i,id_negorg_p,id_negorg_a,id_negorg_l] = getMgenLevels( m, &amp;#039;ID_NEGORG&amp;#039; );&lt;br /&gt;
    [id_a_i,id_a_p,id_a_a,id_a_l] = getMgenLevels( m, &amp;#039;ID_A&amp;#039; );&lt;br /&gt;
    [id_b_i,id_b_p,id_b_a,id_b_l] = getMgenLevels( m, &amp;#039;ID_B&amp;#039; );&lt;br /&gt;
&lt;br /&gt;
% Mesh type: circle&lt;br /&gt;
%          centre: 0&lt;br /&gt;
%       circumpts: 48&lt;br /&gt;
%       coneangle: 0&lt;br /&gt;
%         dealign: 0&lt;br /&gt;
%          height: 0&lt;br /&gt;
%        innerpts: 0&lt;br /&gt;
%      randomness: 0.1&lt;br /&gt;
%           rings: 6&lt;br /&gt;
%         version: 1&lt;br /&gt;
%          xwidth: 0.2&lt;br /&gt;
%          ywidth: 0.2&lt;br /&gt;
&lt;br /&gt;
%            Morphogen   Diffusion   Decay   Dilution   Mutant&lt;br /&gt;
%            -------------------------------------------------&lt;br /&gt;
%                KAPAR        ----    ----       ----     ----&lt;br /&gt;
%                KAPER        ----    ----       ----     ----&lt;br /&gt;
%                KBPAR        ----    ----       ----     ----&lt;br /&gt;
%                KBPER        ----    ----       ----     ----&lt;br /&gt;
%                 KNOR        ----    ----       ----     ----&lt;br /&gt;
%            POLARISER        ----    ----       ----     ----&lt;br /&gt;
%            STRAINRET        ----    ----       ----     ----&lt;br /&gt;
%               ARREST        ----    ----       ----     ----&lt;br /&gt;
%           ID_PLUSORG        ----    ----       ----     ----&lt;br /&gt;
%            ID_NEGORG        ----    ----       ----     ----&lt;br /&gt;
%                 ID_A        ----    ----       ----     ----&lt;br /&gt;
%                 ID_B        ----    ----       ----     ----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%%% USER CODE: MORPHOGEN INTERACTIONS&lt;br /&gt;
&lt;br /&gt;
% In this section you may modify the mesh in any way that does not&lt;br /&gt;
% alter the set of nodes.&lt;br /&gt;
&lt;br /&gt;
    if (Steps(m)==0) &amp;amp;&amp;amp; m.globalDynamicProps.doinit  % Initialisation code.&lt;br /&gt;
        % Put any code here that should only be performed at the start of&lt;br /&gt;
        % the simulation, for example, to set up initial morphogen values.&lt;br /&gt;
        &lt;br /&gt;
        % m.nodes is the set of vertex positions, an N by 3 array if there&lt;br /&gt;
        % are N vertices.  Row number K contains the X, Y, and Z&lt;br /&gt;
        % coordinates of the Kth vertex. To obtain a list of the X&lt;br /&gt;
        % coordinates of every vertex, write m.nodes(:,1).  The Y&lt;br /&gt;
        % coordinates are given by m.nodes(:,2) and the Z coordinates by&lt;br /&gt;
        % m.nodes(:,3).&lt;br /&gt;
&lt;br /&gt;
        % Set up a morphogen promoter (_p suffix) region where x values are minimum&lt;br /&gt;
        % id_prox_p(m.nodes(:,1)==min(m.nodes(:,1)))=1;&lt;br /&gt;
        % if the morphogen level (_l suffix) is to be used in this iteration &lt;br /&gt;
        % set the level using the morphogen activity (_a suffix).&lt;br /&gt;
        % id_prox_l=id_prox_p * id_prox_a; % when a mutation is specified in the GUI &lt;br /&gt;
        % the activity (_a) is set to zero&lt;br /&gt;
&lt;br /&gt;
        % One way to set up a morphogen gradient is by ...&lt;br /&gt;
        % Setting up a gradient by clamping the ends (execute only once)&lt;br /&gt;
        % P=id_prox_p;&lt;br /&gt;
        % m.morphogenclamp( ((id_prox_p==1)|(id_dist_p==1)), polariser_i ) = 1;&lt;br /&gt;
        % m = leaf_mgen_conductivity( m, &amp;#039;POLARISER&amp;#039;, 0.01 );  %specifies the diffusion rate of polariser    &lt;br /&gt;
        % m = leaf_mgen_absorption( m, &amp;#039;POLARISER&amp;#039;, 0.1 );     % specifies degradation rate of polariser&lt;br /&gt;
&lt;br /&gt;
        % Fixing vertices, i.e. fix z for the base to prevent base from moving up or down&lt;br /&gt;
        % m=leaf_fix_vertex(m,&amp;#039;vertex&amp;#039;,find(id_prox_p==1),&amp;#039;dfs&amp;#039;,&amp;#039;z&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
        % To cut the mesh, set a temporary morphogen to 1 in places to cut&lt;br /&gt;
        % seams=zeros(size(P));&lt;br /&gt;
        % seams(indexes to places to cut)=1;&lt;br /&gt;
        % m=leaf_set_seams(m,seams);&lt;br /&gt;
&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    % Second way to generate a gradient&lt;br /&gt;
    % generating (+) and sinking (-) a diffusing signal (in this case polariser)&lt;br /&gt;
    % m.mgen_production( :, polariser_i ) = + 5*s_spur_p - P .* id_dist_p;&lt;br /&gt;
&lt;br /&gt;
    % Monitor growth by scattering discs that deform over time (c.f. inducing biological clones)&lt;br /&gt;
    % (CARE - if the canvas is flat ensure that Plot:Hide Thickness is true, &lt;br /&gt;
    % because a quirk of the Matlab z-buffer means that they can get hidden by mistake)&lt;br /&gt;
    %    if (340&amp;gt;realtime-dt) &amp;amp;&amp;amp; (340&amp;lt;realtime+dt) % discs to be added at realtime==340&lt;br /&gt;
    %        m = leaf_makesecondlayer( m, ...  % This function adds discs that represent transformed cells.&lt;br /&gt;
    %            &amp;#039;mode&amp;#039;, &amp;#039;each&amp;#039;, ...  % Make discs randomly scattered over the canvas.&lt;br /&gt;
    %            &amp;#039;relarea&amp;#039;, 1/16000, ...   % Each discs has area was 1/16000 of the initial area of the canvas.&lt;br /&gt;
    %            &amp;#039;probpervx&amp;#039;, &amp;#039;V_FLOWER&amp;#039;, ... % induce discs over whole canvas (V_FLOWER is 1 over whole canvas)&lt;br /&gt;
    %            &amp;#039;numcells&amp;#039;,4500,...%number of discs (that will become ellipses)&lt;br /&gt;
    %            &amp;#039;sides&amp;#039;, 6, ...  % Each discs is approximated as a 6-sided regular polygon.&lt;br /&gt;
    %            &amp;#039;colors&amp;#039;, [0.5 0.5 0.5], ...  % Default colour is gray but&lt;br /&gt;
    %            &amp;#039;colorvariation&amp;#039;,1,... % Each disc is a random colour&lt;br /&gt;
    %            &amp;#039;add&amp;#039;, true );  % These discs are added to any discs existing already&lt;br /&gt;
    %    end&lt;br /&gt;
    &lt;br /&gt;
    % Directives for creating latex representation directly from Matlab code&lt;br /&gt;
    % not fully implemented yet but will use @@ directives&lt;br /&gt;
    % @@at t&lt;br /&gt;
    % @@before t&lt;br /&gt;
    % @@after t&lt;br /&gt;
    % @@between t1 t2&lt;br /&gt;
&lt;br /&gt;
%     % If you want to define different phases according to the absolute&lt;br /&gt;
%     % time, create a morphogen for each phase and modulate &lt;br /&gt;
%     % expressions using the morphogen&lt;br /&gt;
%     % like.  For example:&lt;br /&gt;
%     if (realtime &amp;lt; 10)  % first growth phase&lt;br /&gt;
%         f_firstgrowth_p = 1;&lt;br /&gt;
%     else&lt;br /&gt;
%         f_firstgrowth_p = 0;&lt;br /&gt;
%     end&lt;br /&gt;
%     if (realtime &amp;gt;= 10) % second growth phase&lt;br /&gt;
%         f_secondgrowth_p = 1;&lt;br /&gt;
%     else&lt;br /&gt;
%         f_secondgrowth_p = 0;&lt;br /&gt;
%     end&lt;br /&gt;
%&lt;br /&gt;
%     % If you want one morphogen to affect others only during a certain&lt;br /&gt;
%     % phase, write something like:&lt;br /&gt;
%&lt;br /&gt;
%     mgen_a_p = f_firstgrowth_p .* (various terms); % will zero except in firstgrowth&lt;br /&gt;
&lt;br /&gt;
    % Code common to all models.&lt;br /&gt;
    % @@PRN Polariser Regulatory Network&lt;br /&gt;
        % Every equation to be formatted should end with an at-at Eqn N comment.&lt;br /&gt;
    % @@GRN Gene Regulatory Network&lt;br /&gt;
        % Every equation to be formatted should end with an at-at Eqn N comment.&lt;br /&gt;
    % @@KRN Growth Regulatory Network&lt;br /&gt;
        % Every equation to be formatted should end with an at-at Eqn N comment.&lt;br /&gt;
&lt;br /&gt;
    % Code for specific models.&lt;br /&gt;
    switch modelname&lt;br /&gt;
        case &amp;#039;MODEL1&amp;#039;  % @@model MODEL1&lt;br /&gt;
            % @@PRN Polariser Regulatory Network&lt;br /&gt;
                % Every equation to be formatted should end with an at-at Eqn N comment.&lt;br /&gt;
                % P(:) = ...  % @@ Eqn xx&lt;br /&gt;
            % @@GRN Gene Regulatory Network&lt;br /&gt;
                % Every equation to be formatted should end with an at-at Eqn N comment.&lt;br /&gt;
            % @@KRN Growth Regulatory Network&lt;br /&gt;
                % Every equation to be formatted should end with an at-at Eqn N comment.&lt;br /&gt;
                % kapar_p(:) = 0;  % @@ Eqn xx&lt;br /&gt;
                % kaper_p(:) = 0;  % @@ Eqn xx&lt;br /&gt;
                % kbpar_p(:) = 0;  % @@ Eqn xx&lt;br /&gt;
                % kbper_p(:) = 0;  % @@ Eqn xx&lt;br /&gt;
                % knor_p(:)  = 0;  % @@ Eqn xx&lt;br /&gt;
        case &amp;#039;MODEL2&amp;#039;  % @@model MODEL2&lt;br /&gt;
            % @@PRN Polariser Regulatory Network&lt;br /&gt;
                % Every equation to be formatted should end with an at-at Eqn N comment.&lt;br /&gt;
                % P(:) = ...  % @@ Eqn xx&lt;br /&gt;
            % @@GRN Gene Regulatory Network&lt;br /&gt;
                % Every equation to be formatted should end with an at-at Eqn N comment.&lt;br /&gt;
            % @@KRN Growth Regulatory Network&lt;br /&gt;
                % Every equation to be formatted should end with an at-at Eqn N comment.&lt;br /&gt;
                % kapar_p(:) = 0;  % @@ Eqn xx&lt;br /&gt;
                % kaper_p(:) = 0;  % @@ Eqn xx&lt;br /&gt;
                % kbpar_p(:) = 0;  % @@ Eqn xx&lt;br /&gt;
                % kbper_p(:) = 0;  % @@ Eqn xx&lt;br /&gt;
                % knor_p(:)  = 0;  % @@ Eqn xx&lt;br /&gt;
        otherwise&lt;br /&gt;
            % If this happens, maybe you forgot a model.&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
%%% END OF USER CODE: MORPHOGEN INTERACTIONS&lt;br /&gt;
&lt;br /&gt;
%%% SECTION 3: INSTALLING MODIFIED VALUES BACK INTO MESH STRUCTURE&lt;br /&gt;
%%% AUTOMATICALLY GENERATED CODE: DO NOT EDIT.&lt;br /&gt;
    m.morphogens(:,polariser_i) = P;&lt;br /&gt;
    m.morphogens(:,kapar_i) = kapar_p;&lt;br /&gt;
    m.morphogens(:,kaper_i) = kaper_p;&lt;br /&gt;
    m.morphogens(:,kbpar_i) = kbpar_p;&lt;br /&gt;
    m.morphogens(:,kbper_i) = kbper_p;&lt;br /&gt;
    m.morphogens(:,knor_i) = knor_p;&lt;br /&gt;
    m.morphogens(:,strainret_i) = strainret_p;&lt;br /&gt;
    m.morphogens(:,arrest_i) = arrest_p;&lt;br /&gt;
    m.morphogens(:,id_plusorg_i) = id_plusorg_p;&lt;br /&gt;
    m.morphogens(:,id_negorg_i) = id_negorg_p;&lt;br /&gt;
    m.morphogens(:,id_a_i) = id_a_p;&lt;br /&gt;
    m.morphogens(:,id_b_i) = id_b_p;&lt;br /&gt;
&lt;br /&gt;
%%% USER CODE: FINALISATION&lt;br /&gt;
&lt;br /&gt;
% In this section you may modify the mesh in any way whatsoever.&lt;br /&gt;
&lt;br /&gt;
    % If needed force FE to subdivide (increase number FE&amp;#039;s) here&lt;br /&gt;
    % if realtime==280+dt&lt;br /&gt;
         % m = leaf_subdivide( m, &amp;#039;morphogen&amp;#039;,&amp;#039;id_vent&amp;#039;,...&lt;br /&gt;
         %       &amp;#039;min&amp;#039;,0.5,&amp;#039;max&amp;#039;,1,...&lt;br /&gt;
         %       &amp;#039;mode&amp;#039;,&amp;#039;mid&amp;#039;,&amp;#039;levels&amp;#039;,&amp;#039;all&amp;#039;);&lt;br /&gt;
    % end&lt;br /&gt;
% Cut the mesh along the seams (see above)&lt;br /&gt;
    % if m.userdata.CutOpen==1&lt;br /&gt;
    %    m=leaf_dissect(m);&lt;br /&gt;
    %    m.userdata.CutOpen=2;        &lt;br /&gt;
    %    Relax accumulated stresses slowly i.e. 0.95 to 0.999&lt;br /&gt;
    %    m = leaf_setproperty( m, &amp;#039;freezing&amp;#039;, 0.999 );&lt;br /&gt;
    % end&lt;br /&gt;
&lt;br /&gt;
%%% END OF USER CODE: FINALISATION&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%%% USER CODE: SUBFUNCTIONS&lt;br /&gt;
&lt;br /&gt;
function m = local_setproperties( m )&lt;br /&gt;
% This function is called at time zero in the INITIALISATION section of the&lt;br /&gt;
% interaction function.  It provides commands to set each of the properties&lt;br /&gt;
% that are contained in m.globalProps.  Uncomment whichever ones you would&lt;br /&gt;
% like to set yourself, and put in whatever value you want.&lt;br /&gt;
%&lt;br /&gt;
% Some of these properties are for internal use only and should never be&lt;br /&gt;
% set by the user.  At some point these will be moved into a different&lt;br /&gt;
% component of m, but for the present, just don&amp;#039;t change anything unless&lt;br /&gt;
% you know what it is you&amp;#039;re changing.&lt;br /&gt;
&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;trinodesvalid&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;prismnodesvalid&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;thicknessRelative&amp;#039;, 0.020000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;thicknessArea&amp;#039;, 0.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;thicknessMode&amp;#039;, &amp;#039;physical&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;activeGrowth&amp;#039;, 1.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;displayedGrowth&amp;#039;, 1.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;displayedMulti&amp;#039;, [] );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;allowNegativeGrowth&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;usePrevDispAsEstimate&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;perturbInitGrowthEstimate&amp;#039;, 0.000010 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;perturbRelGrowthEstimate&amp;#039;, 0.010000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;perturbDiffusionEstimate&amp;#039;, 0.000100 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;resetRand&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;mingradient&amp;#039;, 0.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;relativepolgrad&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;usefrozengradient&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;userpolarisation&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;thresholdsq&amp;#039;, 0.000841 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;splitmargin&amp;#039;, 1.400000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;splitmorphogen&amp;#039;, &amp;#039;&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;thresholdmgen&amp;#039;, 0.500000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;bulkmodulus&amp;#039;, 1.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;unitbulkmodulus&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;poissonsRatio&amp;#039;, 0.300000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;starttime&amp;#039;, 0.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;timestep&amp;#039;, 0.010000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;timeunitname&amp;#039;, &amp;#039;&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;distunitname&amp;#039;, &amp;#039;mm&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;scalebarvalue&amp;#039;, 0.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;validateMesh&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;rectifyverticals&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;allowSplitLongFEM&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;longSplitThresholdPower&amp;#039;, 0.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;allowSplitBentFEM&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;allowSplitBio&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;allowFlipEdges&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;allowElideEdges&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;mincellangle&amp;#039;, 0.200000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;alwaysFlat&amp;#039;, 0.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;flattenforceconvex&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;flatten&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;flattenratio&amp;#039;, 1.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;useGrowthTensors&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;plasticGrowth&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;totalinternalrotation&amp;#039;, 0.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;stepinternalrotation&amp;#039;, 2.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;showinternalrotation&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;performinternalrotation&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;internallyrotated&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;maxFEcells&amp;#039;, 0 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;inittotalcells&amp;#039;, 0 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;bioApresplitproc&amp;#039;, &amp;#039;&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;bioApostsplitproc&amp;#039;, &amp;#039;&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;maxBioAcells&amp;#039;, 0 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;maxBioBcells&amp;#039;, 0 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;colors&amp;#039;, (6 values) );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;colorvariation&amp;#039;, 0.050000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;colorparams&amp;#039;, (12 values) );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;freezing&amp;#039;, 0.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;canceldrift&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;mgen_interaction&amp;#039;, &amp;#039;&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;mgen_interactionName&amp;#039;, &amp;#039;gpt_tut_interaction_20110530&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;allowInteraction&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;interactionValid&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;gaussInfo&amp;#039;, (unknown type &amp;#039;&amp;#039;struct&amp;#039;&amp;#039;) );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;stitchDFs&amp;#039;, [] );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;D&amp;#039;, (36 values) );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;C&amp;#039;, (36 values) );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;G&amp;#039;, (6 values) );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;solver&amp;#039;, &amp;#039;cgs&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;solverprecision&amp;#039;, &amp;#039;double&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;solvertolerance&amp;#039;, 0.001000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;solvertolerancemethod&amp;#039;, &amp;#039;norm&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;diffusiontolerance&amp;#039;, 0.000010 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;allowsparse&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;maxIters&amp;#039;, 0 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;maxsolvetime&amp;#039;, 1000.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;cgiters&amp;#039;, 0 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;simsteps&amp;#039;, 0 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;stepsperrender&amp;#039;, 0 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;growthEnabled&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;diffusionEnabled&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;flashmovie&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;makemovie&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;moviefile&amp;#039;, &amp;#039;&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;codec&amp;#039;, &amp;#039;None&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;autonamemovie&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;overwritemovie&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;framesize&amp;#039;, [] );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;mov&amp;#039;, [] );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;jiggleProportion&amp;#039;, 1.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;cvtperiter&amp;#039;, 0.200000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;boingNeeded&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;initialArea&amp;#039;, 0.031326 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;bendunitlength&amp;#039;, 0.176992 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;targetRelArea&amp;#039;, 1.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;defaultinterp&amp;#039;, &amp;#039;min&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;readonly&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;projectdir&amp;#039;, &amp;#039;D:\ab\Matlab stuff&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;modelname&amp;#039;, &amp;#039;GPT_tut_interaction_20110530&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;allowsave&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;addedToPath&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;bendsplit&amp;#039;, 0.300000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;usepolfreezebc&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;dorsaltop&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;defaultazimuth&amp;#039;, -45.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;defaultelevation&amp;#039;, 33.750000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;defaultroll&amp;#039;, 0.000000 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;defaultViewParams&amp;#039;, (unknown type &amp;#039;&amp;#039;struct&amp;#039;&amp;#039;) );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;comment&amp;#039;, &amp;#039;&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;legendTemplate&amp;#039;, &amp;#039;%T: %q\n%m&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;bioAsplitcells&amp;#039;, true );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;bioApullin&amp;#039;, 0.142857 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;bioAfakepull&amp;#039;, 0.202073 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;interactive&amp;#039;, false );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;coderevision&amp;#039;, 0 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;coderevisiondate&amp;#039;, &amp;#039;&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;modelrevision&amp;#039;, 0 );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;modelrevisiondate&amp;#039;, &amp;#039;&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;savedrunname&amp;#039;, &amp;#039;&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;savedrundesc&amp;#039;, &amp;#039;&amp;#039; );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;vxgrad&amp;#039;, (108 values) );&lt;br /&gt;
%    m = leaf_setproperty( m, &amp;#039;lengthscale&amp;#039;, 0.200000 );&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
% Here you may write any functions of your own, that you want to call from&lt;br /&gt;
% the interaction function, but never need to call from outside it.&lt;br /&gt;
% Remember that they do not have access to any variables except those&lt;br /&gt;
% that you pass as parameters, and cannot change anything except by&lt;br /&gt;
% returning new values as results.&lt;br /&gt;
% Whichever section they are called from, they must respect the same&lt;br /&gt;
% restrictions on what modifications they are allowed to make to the mesh.&lt;br /&gt;
&lt;br /&gt;
% For example:&lt;br /&gt;
&lt;br /&gt;
% function m = do_something( m )&lt;br /&gt;
%   % Change m in some way.&lt;br /&gt;
% end&lt;br /&gt;
&lt;br /&gt;
% Call it from the main body of the interaction function like this:&lt;br /&gt;
%       m = do_something( m );&lt;/div&gt;</summary>
		<author><name>AndrewBangham</name></author>
	</entry>
</feed>