I dont see an error
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
dusan
am 26 Jun. 2014
Beantwortet: Ajay Pherwani
am 26 Jun. 2014
I dont see an error, but there is one?
display([' Nif = 'num2str(Nif,'% 10.2f') ' [-]']);
0 Kommentare
Akzeptierte Antwort
John D'Errico
am 26 Jun. 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.
Weitere Antworten (1)
Ajay Pherwani
am 26 Jun. 2014
display([' Nif = ',num2str(Nif,'% 10.2f') ' [-]']);
missing a ,(comma) after ' Nif = '
0 Kommentare
Siehe auch
Kategorien
Mehr zu Environment and Settings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!