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

10 ビュー (過去 30 日間)
qwer ty
qwer ty 2018 年 5 月 30 日
コメント済み: qwer ty 2018 年 5 月 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 Center および File ExchangeApp Building についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by