필터 지우기
필터 지우기

Pass value from App 1 to App2 in Matlab App designer in Matlab 2016

조회 수: 2 (최근 30일)
joms
joms 2020년 11월 30일
Im using matlab 2016b so there are limitation in editing startfup function argument unlike in 2020version.
I would like to call a value of a textbox from 1 app and use it in in 2nd app. App 1 executes first then app 2 loads the public property 'data' from app1 .
%mainapp public property
property (Access=Public)
data
end
%From Main App in after pushbutton pressed
app.EditText.Value='sample text to import'
app.data=app.EditText.value
%Secondary display after pushbutton pressed
app.EditText.Value=app.data
I am using the above code but i get error. I also search similar questions but their execution method is different from mine where the main app is the input receiver and the 2ndary app copies values o¥from main app. Thanks in advance

답변 (0개)

카테고리

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

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by