How can I see the predicted labels for all my validation set images in app designer?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Abhishek Chakram
il 26 Set 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 Commenti
Vedere anche
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!