Question: How to use saved Matlab codegeneration?

<p>Hi </p>
<p>I have some funtio<img alt="" src="file:///C:/Users/BrianBak/AppData/Local/Temp/moz-screenshot-5.png" />ns that a generate using maple. I would like to be able to set an variable equal to the right side of these functions in matlab. I have saved the funktion in the following way. </p>
<p><img alt="" src="file:///C:/Users/BrianBak/AppData/Local/Temp/moz-screenshot-6.png" /><img alt="" src="file:///C:/Users/BrianBak/AppData/Local/Temp/moz-screenshot-7.png" /><maple>with(CodeGeneration)</maple><br />
<maple>Matlab(x^2+y^3, output = "file.txt")</maple></p>
<p>This produces a txt file with the contents: cg = x ^ 2 + y ^ 3</p>
<p>Does anyone know how to set an variable name equal to the right side of the function in the txt file in matlab? </p>
<p>Thanks in advance </p>
<p>Regards Brian</p>
<p><img alt="" src="file:///C:/Users/BrianBak/AppData/Local/Temp/moz-screenshot-4.png" /></p>
<p><img alt="" src="file:///C:/Users/BrianBak/AppData/Local/Temp/moz-screenshot-2.png" /><img alt="" src="file:///C:/Users/BrianBak/AppData/Local/Temp/moz-screenshot-3.png" /></p>
Please Wait...