I dont see an error
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I dont see an error, but there is one?
display([' Nif = 'num2str(Nif,'% 10.2f') ' [-]']);
0 Commenti
Risposta accettata
John D'Errico
il 26 Giu 2014
I would strongly suggest you learn to use commas.
display([' Nif = ',num2str(Nif,'% 10.2f'),' [-]'])
They make your code more readable. They also make your code work.
Più risposte (1)
Ajay Pherwani
il 26 Giu 2014
display([' Nif = ',num2str(Nif,'% 10.2f') ' [-]']);
missing a ,(comma) after ' Nif = '
0 Commenti
Vedere anche
Categorie
Scopri di più su Environment and Settings 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!