How to put the command \n in function input?

조회 수: 1 (최근 30일)
Rodrigo Franco
Rodrigo Franco 2014년 10월 4일
댓글: José-Luis 2014년 10월 4일
Hi people, how to put the command \n in function input
example input("suck my balls \nlalalala");

답변 (1개)

per isakson
per isakson 2014년 10월 4일
Works in R2013b
>> input('first line\nsecond line =' )
first line
second line =17
ans =
17
>>

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by