where are the app variables hiding and how do i gain access to them as needed?
3 次查看(过去 30 天)
显示 更早的评论
I have 2 app(s). The first app (Parameter_App) sets up a series of tab containers on the UIFigure. within the first 3 tabs i have set up 3 different sets of chechBoxes. The Parameter_app will start the "Globe_appN" which also has a tab bar in it's UIFigure. Within the Tab group i have a series of Axes. The first 2 tabs is a 3D Globe and the 3 tab is for 3D plots. During the setup of the Globe_appN i have pre-loaded a bunch of Radars and an bunch of 3D plots all with the visability set to off.
Now with the 2 apps loaded there is no app data in the workspace for ether app. When i select a tab on the Parameteds_app and then click on a checkbox with a break point set in the checkbox_callback routine i now have access to the Parameter's app data and event data. This is what i expect. The checkbox_callback routine now calls the Globe_appN.updateplot(...) , updateplot resides in the Globe_appN app and when i set a break point in that function i do not find any app data that is for the Globe_appN just the data i sent to the Globe_appN from the parameter_app program.
This is the problem, I need to see the Globe_appN's App data so i can address the changes to the UIAxes1 and UIAxes2 and the plotting tab's UIAxes3.
How can i get the Globe_appN to present it's app data ??????
5 个评论
Geoff Hayes
2022-7-20
@Gary English answer moved here
no not really. this is being developed on a classified system and the input data is classified for sure. The apps are both in .m files. The best i could do is take a couple of pdf snapshots of the code. I know that on the parameter_app side that when the callback function is called i.e. one of the checkboxes has been clicked i get the main "app" data back in view for the paramater_app. but when it sends the data to the Globe_appN there is no callback function as an entry point, just a plane old function so how does one cause a callback th get generated without a button to push or a checkbox to click with a dedicated callback. If i could get it to generate a interrupt that minics a callback function and brings the app data for the Globe_appN in focuse then i could go ahead and update the plots.
Geoff Hayes
2022-7-20
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!