I dont see an error

조회 수: 7 (최근 30일)
dusan
dusan 2014년 6월 26일
답변: Ajay Pherwani 2014년 6월 26일
I dont see an error, but there is one?
display([' Nif = 'num2str(Nif,'% 10.2f') ' [-]']);

채택된 답변

John D'Errico
John D'Errico 2014년 6월 26일
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일
display([' Nif = ',num2str(Nif,'% 10.2f') ' [-]']);
missing a ,(comma) after ' Nif = '

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by