Path: news.mathworks.com!not-for-mail
From: "Arthur Zheng" <hzheng7@gatech.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Can we use escape in display?
Date: Tue, 14 Jul 2009 16:43:03 +0000 (UTC)
Organization: SJTU
Lines: 8
Message-ID: <h3icin$5n5$1@fred.mathworks.com>
Reply-To: "Arthur Zheng" <hzheng7@gatech.edu>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1247589783 5861 172.30.248.38 (14 Jul 2009 16:43:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 14 Jul 2009 16:43:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1416910
Xref: news.mathworks.com comp.soft-sys.matlab:555397


I want to display a string.

using command:   display('somestring\n');

and it shows on the screen that:
somestring\n

How could the newline escape '\n' be shown?