How do i fix return error in matlab?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hey guys I'm not so sure why i'm getting this error when i return and if statement

0 Commenti
Risposte (1)
Fangjun Jiang
il 26 Mar 2021
Modificato: Fangjun Jiang
il 26 Mar 2021
This is a warning, not an error.
If the code "return" here (which means exiting the function), the varialbe "rho" may never be used, although the top of the function is not shown.
"break" might be what you meant to use. see "help break".
0 Commenti
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!