how to get the value from .mlapp file in .m file and after some processing in .m file again return to .mlapp file to display the result on GUI interface

5 ビュー (過去 30 日間)
I am new to matlab & I have Problem. I explained below what I want exactly.
  1. I creating a UI figure(.mlapp file) in that I take 5 numeric text feild by this I want average of all the 5 values in average named numeric text feild.
  2. The average formula is written into .m file and after the calculation I want to return the value into again in same .mlapp file. to get the result.
please suggest the code for it because I have project in that i want to build up a system by using the above concept.
If any other solution please suggest that also
thank you!
  6 件のコメント
Krutik Gujarathi
Krutik Gujarathi 2021 年 2 月 23 日
編集済み: Krutik Gujarathi 2021 年 2 月 23 日
I using matlab 2018 and i am not getting interactive tutorials in app designer window sir. If u have any web link please share that one. 🙏
Krutik Gujarathi
Krutik Gujarathi 2021 年 2 月 27 日
Thanks a lot sir for help me it works!👍😁

サインインしてコメントする。

回答 (1 件)

Cris LaPierre
Cris LaPierre 2021 年 2 月 23 日
What you are describing is a function. You can read about the basics here.
You can add a function in app designer. See this page on using helper functions in your app.
As for the interactive tutorial, in R2018b, it appears in the "Open" menu.

カテゴリ

Help Center および File ExchangeDevelop 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