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

 채택된 답변

John D'Errico
John D'Errico 2014년 6월 26일

1 개 추천

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

dusan
dusan 2014년 6월 26일
Thanks. I`m just tired, it sliped my mind.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Ajay Pherwani
Ajay Pherwani 2014년 6월 26일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

질문:

2014년 6월 26일

답변:

2014년 6월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by