I dont see an error, but there is one?
display([' Nif = 'num2str(Nif,'% 10.2f') ' [-]']);

 Akzeptierte Antwort

John D'Errico
John D'Errico am 26 Jun. 2014

1 Stimme

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.

1 Kommentar

dusan
dusan am 26 Jun. 2014
Thanks. I`m just tired, it sliped my mind.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Ajay Pherwani
Ajay Pherwani am 26 Jun. 2014

0 Stimmen

display([' Nif = ',num2str(Nif,'% 10.2f') ' [-]']);
missing a ,(comma) after ' Nif = '

Kategorien

Mehr zu MATLAB Compiler finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by