How to include next line while showing the output?
2 次查看(过去 30 天)
显示 更早的评论
Hello everyone..
I have to give my output as when the line ends, the cursor goes to the next line and shows the output in the next line so what code should i have to give?
Please help me
4 个评论
Walter Roberson
2012-5-7
How are you reading the data? What command are you using to display it? What is class() of the variable you have the data stored in?
回答(2 个)
maria
2012-5-3
You can use the command input(''). When your matlab programm finish will ask you for the parameter to continue.
Walter Roberson
2012-5-15
String
For multiple line editable text or static text controls, line breaks occur between each row of the string matrix, and each cell of a cell array of strings. Vertical slash ('|') characters and \n characters are not interpreted as line breaks, and instead show up in the text displayed in the uicontrol.
7 个评论
Walter Roberson
2012-5-24
I am not able to locate that file. The File Exchange people do not approve uploads which are solely images or data files -- only programs and models.
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!