randperm not working correctly on Matlab Web App
    4 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
Hello everyone,
I have a problem with the randperm function. In the MATLAB App designer it always outputs a random number, but in the Web App the numbers are always the same. Is that the expected behavior? May I be missing something?
3 Commenti
  Cris LaPierre
    
      
 il 12 Mar 2021
				No, but if you are using it, it will cause the same random numbers to be generated each time.
Risposta accettata
  Steven Lord
    
      
 il 13 Mar 2021
        I believe that each instance of the Web App is or is equivalent to a new session of MATLAB. In that case this documentation page applies. Follow the instructions it gives to generate random numbers that are different each time.
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su On-Premises Installation 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!


