octave-maintainers
[Top][All Lists]
Advanced

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

instrument-control / MATLAB compatibility


From: Stefan Mahr
Subject: instrument-control / MATLAB compatibility
Date: Wed, 17 Jul 2013 13:51:05 +0200 (CEST)

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


reply via email to

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