Properties section becomes blank and grayed out
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I added some functions to the editable functions area of my .mlapp file. I realized that one of those new functions required a new Property of the app. I went to add one and discovered that both the Property menu at the top of App Designer, and the properties section in the Code Browser, were grayed out. Nothing I could see that I could do to change this. I tried saving the file, in case that would help stabilize things. No help. I closed the file and reopened it. Even worse. Now the Properties and the Functions section in the code browser are completely blank, as well as grayed out. On the second try, things have developed to the point that in the Design View I just see spinning wheels in all the components.
I found a potentially useful error message in the main Matlab window. It said, "unable to find app.ReviewTab". But in the non-editable section of the code, I plainly find
% Create ReviewTab
app.ReviewTab = uitab(app.TabGroup);
app.ReviewTab.Title = 'Review';
And in the properties that correspond to app components:
ReviewTab matlab.ui.container.
Tab
Has anyone else seen this state of affairs? Has anyone found a way back from it? Failing that, has anyone figured out what causes this disease and how to prevent it? Because otherwise I'm just going to be continually going back to a previous version in version control, and walking on eggshells lest I trigger it again! Any help appreciated.
1 commentaire
Dinesh
le 31 Jan 2024
II tried to reproduce this behaviour in R2023b, but I couldn't. Could you please share the ".mlapp" file?
Réponses (1)
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!