How to display results in a table and same time save results do excel file
    4 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Learning
 il 15 Mag 2023
  
    
    
    
    
    Commentato: Walter Roberson
      
      
 il 18 Mag 2023
            Hi, I have a code to predicting new data on an already trained model. How do I declare a property in app designer for the path where I import data from and also how do I display the prediction from the model in a table and at the same time save that result to an excel file when I click a button? Any code or example documentation would be appreciated. Thank you.
0 Commenti
Risposta accettata
  Walter Roberson
      
      
 il 15 Mag 2023
        how do I display the prediction from the model in a table and at the same time save that result to an excel file when I click a button
Start by creating a table object -- though using array2table or related functions can also be valuable.
When you have the table of data to display, set a uitable object's Data property to be the table to display.
2 Commenti
  Walter Roberson
      
      
 il 18 Mag 2023
				Yes, the Predict button will likely call predict() or classify(), and after the code gets the results from that, put it into a Table and set the uitable's Data property to the table.
You can store the output of predict() or classify() as a property if you need it for other purposes beyond just displaying.
Più risposte (0)
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!

