필터 지우기
필터 지우기

Show the output arguments of a function call : MATLAB app designer

조회 수: 11 (최근 30일)
I have loaded a .mat file using push button. Then I called a function to bring out the mean accuracy (For this also i have used push button). In that function training and testing data gets splitted and the accuracy of the classified output is displayed.
mean_value=fn_call(app.feature) ;%%mean_value is the mean of accuracy over 10 trials, app.feature contains both feature and its label
Now i want to display this mean_value in app designer. For this what I have to do?? I am not sure that above function call is correct or not (While running in .m file it gives the value. If I want to check the design at every stage what I want to do?). Kindly clarify the doubts and the mistakes if I made it anywhere..Thanks in advance
  댓글 수: 2
Kevin Holly
Kevin Holly 2022년 11월 3일
Where do you want to display the results? Did you want to display the results in a uitable? Do you just need to see the results for debugging purposes? Did you want to display results in command window in this case? Would you want to save the results as a property value so you can use it later? Did you want to save the results to a file?
Little Flower
Little Flower 2022년 11월 3일
@Kevin Holly I want to see the result for debugging purpose.. Thank you

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

채택된 답변

Jayant Gangwar
Jayant Gangwar 2022년 11월 23일
Hi,
You can use UI Components like "Edit field", "Text Area", and change their properties after you use the push button to call the function, to display the result of your function call.
Refer to the MATLAB Answers below for more information on how to display result in Text Area-
Refer to the MathWorks documentation for "Edit Field" and "Text area" for more details on how to use these components -

추가 답변 (0개)

카테고리

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