필터 지우기
필터 지우기

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