<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#330000">
hi<br>
<br>
i think you should post a bug about fprintfMat not accepting "\t"<br>
<br>
a workaround may be : ('%1.5e'+ascii(9))<br>
<br>
you can also use write_csv or csv_write which are higher-level
functions that accept a "sep" argument, ascii(9) I believe in your
case<br>
<br>
if i may recommend you to name the files made that way
"matrixname.tsv" (like Tab Separated Values instaed of Coma
Separated Values), you'll find out that Excel open tsv file
corecctly without doing anything. (if you actually use Excel)<br>
<br>
<br>
Le 23/03/2011 00:16, Didier Bodin (Dr) a écrit :
<blockquote
cite="mid:F1970226A3990449B1963032265FAF000219A7A0@vic-mail.arrb.com.au"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve noticed that the “fprintfMat”
function does not allows format incorporating tabulation (for
instance ‘%1.5e\t’).
It does not include a tab character but write \t between the
columns.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This feature was available in scilab 5.2.x
and was very useful
to get pretty text files without using “mprintf”.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Do you have any solution to that problem ?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Didier Bodin<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">PS: you can either answer in French or
English as I am
French living in Australia<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div class="MsoNormal" style="text-align: center;"
align="center"><span style="font-size: 10pt; font-family:
"Arial","sans-serif";">
<hr size="2" align="center" width="100%">
</span></div>
<p class="MsoNormal"><span style="font-size: 10pt;
font-family: "Arial","sans-serif";">Didier
Bodin
(Dr)</span><span style="font-size: 12pt; font-family:
"Times New Roman","serif";">
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;
font-family: "Arial","sans-serif";">Senior
Research
Engineer</span><span style="font-size: 12pt; font-family:
"Times New Roman","serif";"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;
font-family: "Arial","sans-serif";">Research
and
Consulting</span><span style="font-size: 12pt;
font-family: "Times New
Roman","serif";"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 12pt;
font-family: "Times New
Roman","serif";"> <o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family: "Arial","sans-serif";
color: navy;">AR</span></b><b><span style="font-size:
10pt; font-family:
"Arial","sans-serif"; color: red;">R</span></b><b><span
style="font-size: 10pt; font-family:
"Arial","sans-serif"; color: navy;">B
Group Ltd</span></b><b><span style="font-size: 10pt;
font-family: "Arial","sans-serif";
color: navy;"><br>
</span></b><span style="font-size: 10pt; font-family:
"Arial","sans-serif"; color: black;">500
Burwood Highway</span><span style="font-size: 12pt;
font-family: "Times New
Roman","serif";"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;
font-family: "Arial","sans-serif";">Vermont
South
VIC 3133</span><span style="font-size: 12pt; font-family:
"Times New Roman","serif";"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;
font-family: "Arial","sans-serif";">AUSTRALIA</span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif";"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 12pt;
font-family: "Times New
Roman","serif";"> <o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family: "Arial","sans-serif";">P:</span></b><span
style="font-size: 10pt; font-family:
"Arial","sans-serif";"> +61 3 9881
1527
| </span><b><span style="font-size: 10pt; font-family:
"Arial","sans-serif";">F:</span></b><span
style="font-size: 10pt; font-family:
"Arial","sans-serif";"> +61 3 9887
8104
| </span><b><span style="font-size: 10pt; font-family:
"Arial","sans-serif";">M:</span></b><span
style="font-size: 10pt; font-family:
"Arial","sans-serif";"> </span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif";"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 12pt;
font-family: "Times New
Roman","serif";"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 12pt;
font-family: "Times New
Roman","serif";"><a moz-do-not-send="true"
href="mailto:didier.bodin@arrb.com.au"><span
style="font-size: 10pt; font-family:
"Arial","sans-serif"; color:
blue;">didier.bodin@arrb.com.au</span></a>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;
font-family: "Arial","sans-serif";"><a
moz-do-not-send="true" href="http://www.arrb.com.au"><span
style="color: blue;">www.arrb.com.au</span></a></span><b><span
style="font-size: 10pt; font-family:
"Arial","sans-serif";"> </span></b><span
style="font-size: 12pt; font-family: "Times New
Roman","serif";"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 12pt;
font-family: "Times New
Roman","serif";"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 12pt;
font-family: "Arial","sans-serif";"
lang="EN-US">Safer
Road Surfaces – Saving Lives <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;
font-family: "Arial","sans-serif";"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;
font-family: "Arial","sans-serif";">The
3<sup>rd</sup> International Road Surface Friction
Conference, Safer Road
Surfaces – Saving Lives, will be held on the Gold Coast, <ns0:state>Queensland</ns0:state>,
<ns0:country-region><ns0:place>Australia</ns0:place></ns0:country-region>
between 15 and 18 May 2011. Early Bird Registration
(closes 31 March 2011),
visit <a moz-do-not-send="true"
href="http://www.friction2011.com.au"><b><span
style="color: blue;">www.friction2011.com.au</span></b></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;
font-family: "Arial","sans-serif";"> </span><span
style="font-size: 10pt; font-family:
"Arial","sans-serif";" lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;
font-family: "Arial","sans-serif";">We
invite you to attend the conference and explore the region
as the Gold Coast
has not been directly affected by the <ns0:state><ns0:place>Queensland</ns0:place></ns0:state>
floods or cyclone</span><span style="font-size: 10pt;
font-family: "Times New
Roman","serif";">.</span><span
style="font-size: 12pt; font-family: "Times New
Roman","serif";" lang="EN-US"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><b><span style="font-size: 9pt;
font-family: "Arial","sans-serif";
color: black;"><o:p> </o:p></span></b></p>
</div>
<p class="MsoNormal" style="text-align: justify;"><span
style="font-size: 10pt; font-family: "Times New
Roman","serif";"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size: 7.5pt; font-family:
"Arial","sans-serif"; color: black;">Legal Note:
This email and any files transmitted with it are
solely intended for the use of the addressee(s) and may
contain information
that is confidential and privileged. If you receive this
email in error, please
advise us by return email immediately. Please also disregard
the contents of
the email, delete it and destroy any copies immediately.</span><o:p></o:p></p>
</div>
<hr>
This e-mail message has been scanned for Viruses and Content and
cleared by <font color="#400080"><strong>MailMarshal </strong></font>
<hr>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<style>
<!--
p
{margin:0pt;
color:teal;
font-family:"Cambria Math"
font-size:12.0pt;
}
-->
</style>
<p><b>Adrien Vogt-Schilb</b></p>
<p>Research Fellow</p>
<p><a a="" href="mailto:vogt@centre-cired.fr"
style="text-decoration: none; color: teal;">vogt@centre-cired.fr</a></p>
<p>Tel: (+33) 1 43 94 73 96</p>
<p>Fax: (+33) 1 43 94 73 70</p>
<table style="border: medium none; margin-left: 1pt; margin-top:
4pt;" cellspacing="0">
<tbody>
<tr>
<td style="padding: 0pt;">
<p><img src="cid:part1.07060807.07000200@centre-cired.fr"
alt="CIRED" width="54"></p>
</td>
<td style="padding: 0pt 7pt;" valign="middle">
<p style="font-size: 10pt;">45 bis, Av de la Belle
Gabrielle</p>
<p style="font-size: 10pt;">F-94736 Nogent-sur-Marne</p>
<p style="font-size: 10pt;"><a
href="http://www.centre-cired.fr/" style="color:
teal;">http://www.centre-cired.fr/</a></p>
</td>
</tr>
</tbody>
</table>
<p> </p>
</div>
</body>
</html>