Effacer les filtres
Effacer les filtres

Can i call Designer apps from guide apps?

1 vue (au cours des 30 derniers jours)
Martin Poulsen
Martin Poulsen le 28 Oct 2019
Hello!
At the moment my project contains a "main" GUI i use to call other GUI's.
The whole project is large and is created in GUIDE GUI's, but i would like the start using the App Designer for new additions. When i call the Designer GUI directly in the editor via the main gui (using "name.mlapp" or "name.m" after i exported the file) it works fine. But after i compile the whole thing as a stand-alone, it wont work.
Do i need to add some files in the compiler to make it work or somthing like that?
I do not wish it migrate the old guide GUI's.
  2 commentaires
Adam
Adam le 28 Oct 2019
I have combined App Designer apps into other GUIs no problem.
You can just call it as
name
though, rather than
name.m
name.mlapp
It's a class so can be called like any other.
Martin Poulsen
Martin Poulsen le 28 Oct 2019
Oh yes sorry that was what i meant. I tried to call them bot individually with name1.m as name1 and name2.mlapp as name2, but the error is still there. I might be overlooking somthing obvious

Connectez-vous pour commenter.

Réponse acceptée

Martin Poulsen
Martin Poulsen le 28 Oct 2019
Modifié(e) : Martin Poulsen le 28 Oct 2019
I tried making a Catch ME statement to figure out what the error after compiling is. I get the following measage:
Unrecognized property "Tooltip" for class "matlav.ui.control.editField".
  1 commentaire
Martin Poulsen
Martin Poulsen le 28 Oct 2019
Deleting and recreating the editfield and not setting the tooltip, fixed the issue. I am using Matlab 2017b for compiling. I have not checked if this is an issue with newer versions of matlab when compiling

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps 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!

Translated by