Matlab App Designer cant find file

3 visualizzazioni (ultimi 30 giorni)
Theodor Middeldorf
Theodor Middeldorf il 9 Ago 2018
Risposto: Jesper Bjerregaard il 14 Set 2018
Hello,
after a while working on already existing app designer code I got a weird error when starting the app GUI.
Error using feval.
Error defining property 'Machine' of class 'TemperaturGUI':
Class named 'MachineManager' is undefined or does not support property validation.
I could solve the problem by copying the missing files out of its own folder in my GUI folder. But now there are way too many files in my GUI folder and I would like that the app can use the files from their own folders which are in the same main folder like the GUI Folder (just like it had been before).
I already tried using addpath in the Startup function of the app but it still wont recognize the files.

Risposte (1)

Jesper Bjerregaard
Jesper Bjerregaard il 14 Set 2018
Try looking here:
https://stackoverflow.com/questions/51189516/matlab-app-add-path-before-component-creation
It solved my issue.

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by