[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: instrument-control / MATLAB compatibility
From: |
Juan Pablo Carbajal |
Subject: |
Re: instrument-control / MATLAB compatibility |
Date: |
Wed, 17 Jul 2013 14:19:57 +0200 |
On Wed, Jul 17, 2013 at 1:51 PM, Stefan Mahr <address@hidden> wrote:
> Hi,
>
> I'm about to work on octave instrument-control to improve compatibility to
> MATLABs instrument control. For 'fprintf' the online doc is not very helpful.
> However, the behaviour of instrument-controls 'fprintf' seems different
> compared to standard 'fprintf':
>
> fprintf(obj,'format','cmd','mode')
>
> 'format' can be a format specifier like %s, %c, or %d.
> 'cmd' is expected as a string.
>
> If 'cmd' is a string, a format specifier like '%d' doesn't make sense. Could
> someone test if 'cmd' could be a array of type 'double' too?
>
> fprintf(obj, '%d', [1 2 3 4])
>
> Thanks. Other hints are also welcome.
>
> Stefan
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
Let me check that I got it right. You want that somebody tests in MATLAB, right?