Azzera filtri
Azzera filtri

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

11 visualizzazioni (ultimi 30 giorni)
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 Commenti
Kevin Holly
Kevin Holly il 3 Nov 2022
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 il 3 Nov 2022
@Kevin Holly I want to see the result for debugging purpose.. Thank you

Accedi per commentare.

Risposta accettata

Jayant Gangwar
Jayant Gangwar il 23 Nov 2022
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 -

Più risposte (0)

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by