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

2 次查看(过去 30 天)
For example:
function summ(app,a,b)
app.EditField.Value = a + b;
end
  2 个评论
qwer ty
qwer ty 2018-5-30
编辑:qwer ty 2018-5-30
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.
qwer ty
qwer ty 2018-5-30
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by