How to put the command \n in function input?

1 visualizzazione (ultimi 30 giorni)
Rodrigo Franco
Rodrigo Franco il 4 Ott 2014
Commentato: José-Luis il 4 Ott 2014
Hi people, how to put the command \n in function input
example input("suck my balls \nlalalala");

Risposte (1)

per isakson
per isakson il 4 Ott 2014
Works in R2013b
>> input('first line\nsecond line =' )
first line
second line =17
ans =
17
>>

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by