![]() |
Undefined function or variable in Matlab app designer
<p>I have a .m file in matlab which run perfectly. Inside I ask the user to define the path of a file <code>uigetdir()</code>, then I compute some .txt file with an algorithm. Then, I write the result inside a csv file. </p>
<p>Now, I have implemented this code inside App Designer to make a standalone application. Everything works perfectly exept that I got <code>Undefined function or variable</code>. </p> <p>Here is a part of the code : </p> <pre><code> Force_max=mean(F_Max_i); Force_max_txt=string(Force_max); </code></pre> <p>where F_Max_i is a 1x4 Matrix of double. </p> <p>Those 2 lignes works correctly but later on the code I do : </p> <pre><code>Bilan_Force=["Mean";Force_max_txt]; </code></pre> <p>And I got an error <code>Undefined function or variable Force_max_txt</code> which looks very strange to me. </p> <p>Thank you </p> [url=https://stackoverflow.com/questions/59047527/undefined-function-or-variable-in-matlab-app-designer]More answer...[/url] |
所有时间均为北京时间。现在的时间是 21:19。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.