GUI and app designer Help

조회 수: 1 (최근 30일)
John Spencer De Wit
John Spencer De Wit 2020년 4월 25일
댓글: John Spencer De Wit 2020년 4월 28일
Hey guys
I am wondering if there is a way to save various inputs from the app designer and use these inputs in a different part of code
For example if I ask for sigma in the GUI how can I save the value to use it in the livescript.
I have an assigement due the code a failure analysis and for this in need varoius constants for the formules and all this has to be entered through a GUI.
Thanks for your time

답변 (1개)

Bhargavi Maganuru
Bhargavi Maganuru 2020년 4월 28일
Hi,
You can save variables to a specific workspace using assignin function.
You can try this
assignin('base','sigma',sigma);
  댓글 수: 1
John Spencer De Wit
John Spencer De Wit 2020년 4월 28일
Thank you, Ill give it a try

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by