How can I see the predicted labels for all my validation set images in app designer?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
My problem is to deployment of the results after training and the code that I used give me error like below:
This is my code:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1029435/image.png)
0 Kommentare
Antworten (1)
Abhishek Chakram
am 26 Sep. 2023
Hi Fatin Nasuha Bt Asrol,
It is my understanding that you are facing difficulty in assigning the predicted label to the uilabel of the app. Here is a sample code for the same:
app.Label.Text = string(label) + “,” + num2str(100*max(probs),3) + “%”);
You can refer to the following documentation to know more about the functions used:
Best Regards,
Abhishek Chakram
0 Kommentare
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!