필터 지우기
필터 지우기

how can i type a letter in single quotes?

조회 수: 1 (최근 30일)
hanish h
hanish h 2015년 6월 5일
댓글: hanish h 2015년 6월 5일
fprintf('''Q''')
>>> it gives 'Q' right but i want it the prompt in next line so i type
fprintf('''O''/n');
>>> 'O'/n>>
how to get prompt in next line

채택된 답변

Walter Roberson
Walter Roberson 2015년 6월 5일
Include the \n in the format descriptor.
fprintf('''Q''\n')
  댓글 수: 1
hanish h
hanish h 2015년 6월 5일
haha cheers mate i know its a dumb question

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by