Filter löschen
Filter löschen

Can i call Designer apps from guide apps?

1 Ansicht (letzte 30 Tage)
Martin Poulsen
Martin Poulsen am 28 Okt. 2019
Bearbeitet: Martin Poulsen am 28 Okt. 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 Kommentare
Adam
Adam am 28 Okt. 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 am 28 Okt. 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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Martin Poulsen
Martin Poulsen am 28 Okt. 2019
Bearbeitet: Martin Poulsen am 28 Okt. 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 Kommentar
Martin Poulsen
Martin Poulsen am 28 Okt. 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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by