Is it possible to cut a method function from the .mlapp file into a separate .m file by creating a library of functions?

For example:
function summ(app,a,b)
app.EditField.Value = a + b;
end

2 commentaires

Scare class size. And the fact that you can not make a dark theme and increase the text volume in App Designer. Then very tired eye.
Ofc i can do that
% IN .mlapp file
app.EditField.Value = summ(a,b);
% IN .m file
function c = summ(a,b)
c = a + b;
end
But i need use eval include app. dot prefics.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Data Import and Export dans Centre d'aide et File Exchange

Produits

Version

R2018a

Question posée :

le 30 Mai 2018

Commenté :

le 30 Mai 2018

Community Treasure Hunt

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

Start Hunting!

Translated by