Path: news.mathworks.com!not-for-mail
From: "Corinna Schmitt" <csc@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: output to the user on command line
Date: Mon, 6 Aug 2007 09:09:30 +0000 (UTC)
Organization: University of Stuttgart
Lines: 34
Message-ID: <f96oga$2tj$1@fred.mathworks.com>
Reply-To: "Corinna Schmitt" <csc@mathworks.com>
NNTP-Posting-Host: webapp-01-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1186391370 2995 172.30.248.36 (6 Aug 2007 09:09:30 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 6 Aug 2007 09:09:30 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1071129
Xref: news.mathworks.com comp.soft-sys.matlab:422552


Hallo,

I'm writing at a program which works with the input 
function. This part now works. My current problem deals 
with the output. At the end of my program I want to give 
the user a feedback what stand in which file. I tried the 
followed:

printf('This are your output-files:\n');
printf('  1. aidaForMchips.txt - constists of all modified 
information needed for Mchips without the header\n');
printf('  2. aidaForTestaida.txt - constists of all 
modified information in Mchips format needed for the AIDA-
Test if all Mchips-IDs occure in the correct number 
(including the header)\n');

This should be displayed in the command window.
It does not work. I get the following error message:

??? Undefined function or method 'printf' for input 
arguments of type 'char'.

Error in ==> aidaimportV5 at 336
printf('This are your output-files:\n');


How must I change it if I want it to be displayed in an 
extra window which should be closed by the user after he 
read the information.


Thanks,
Corinna