How to put the command \n in function input?

5 ビュー (過去 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 件のコメント
José-Luis
José-Luis 2014 年 10 月 4 日
Classy

サインインしてコメントする。

回答 (1 件)

per isakson
per isakson 2014 年 10 月 4 日
Works in R2013b
>> input('first line\nsecond line =' )
first line
second line =17
ans =
17
>>

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by