access data in App-Designer in nested function call
I have defined a variable cr as a public propertie and can refer to it within the program by usind app.cr. However I call a function withinh function
where I need to use the variable, but by running the programm I get an error message:
Unrecognized field name "cr".
Error in SolarsystemOrbits_03/EarthOrbit (line 413)
app.TMG_solver( n, x, y, z, vx, vy, vz, bx, by, bz);
Error in SolarsystemOrbits_03/OrbitMain (line 191)
app.EarthOrbit;
Error in SolarsystemOrbits_03/ComputeButtonPushed (line 1341)
app.OrbitMain;
What am I doing wrong.I have defined a variable cr as a public propertie and can refer to it within the program by usind app.cr. However I call a function withinh function
where I need to use the variable, but by running the programm I get an error message:
Unrecognized field name "cr".
Error in SolarsystemOrbits_03/EarthOrbit (line 413)
app.TMG_solver( n, x, y, z, vx, vy, vz, bx, by, bz);
Error in SolarsystemOrbits_03/OrbitMain (line 191)
app.EarthOrbit;
Error in SolarsystemOrbits_03/ComputeButtonPushed (line 1341)
app.OrbitMain;
What am I doing wrong. I have defined a variable cr as a public propertie and can refer to it within the program by usind app.cr. However I call a function withinh function
where I need to use the variable, but by running the programm I get an error message:
Unrecognized field name "cr".
Error in SolarsystemOrbits_03/EarthOrbit (line 413)
app.TMG_solver( n, x, y, z, vx, vy, vz, bx, by, bz);
Error in SolarsystemOrbits_03/OrbitMain (line 191)
app.EarthOrbit;
Error in SolarsystemOrbits_03/ComputeButtonPushed (line 1341)
app.OrbitMain;
What am I doing wrong. data in app designer MATLAB Answers — New Questions