help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matlab function "mprint"


From: David Bateman
Subject: Re: Matlab function "mprint"
Date: Mon, 24 Sep 2007 10:19:38 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

address@hidden wrote:
>
> David and Jordi: Thank you.
>
> I putted mprint.m in the following path: C: Program
> Files\Octave\Listik\mprint.m
>
> I asked this question because when  I wrote the following lines:
>
> r=[1 2 3]';
> fprintf(1,'\n Critical values \n');
> fprintf(1,'***********************************************\n');
>   infod.cnames=strvcat('1%','5%','10%');
>   infod.fmt = '%6.3f';
> mprint(r,infod);
> fprintf(1,'***********************************************\n');
>
> I obtained from Octave 2.9.13  the following messages:
>
> error: wrong # cnames in mprint
>
> error: evaluating if command near line 171, column2
>
> error: evaluating if command near line 169, column1
>
> error: called from 'mprint' in file 'C: Program
> Files\Octave\Listik\mprint.m'
>
> Thank you.
>

If you tried this in matlab you would see the same error... I tried a
little to look at it but couldn't see exactly how to get it to work..
However mprint appears to be buggy as it has things like

 [version,junk] = version

In the code (see line 251) which of course make no sense.. So I don't
know what effort you should put in to getting this to work. What is
wrong with disp?

D.



-- 
David Bateman                                address@hidden
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



reply via email to

[Prev in Thread] Current Thread [Next in Thread]