From f6d14fdba9d85067f32d5673a9d9fd7f55017a6a Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Tue, 11 Aug 2015 17:03:25 -0400 Subject: lgpib: write -> fwrite, to make it matlab compatible --- lgpib.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lgpib.m') diff --git a/lgpib.m b/lgpib.m index 0d2010e..fac3bef 100644 --- a/lgpib.m +++ b/lgpib.m @@ -20,7 +20,7 @@ classdef lgpib end - function [status,write_count] = write(obj,message) + function [status,write_count] = fwrite(obj,message) [gpib_status,gpib_count] = gpib_function('ibwrt',obj.handle,message); @@ -57,7 +57,7 @@ classdef lgpib l = 8192; end - obj.write(message); + obj.fwrite(message); reply = obj.read(l); end @@ -96,4 +96,4 @@ classdef lgpib end end - \ No newline at end of file + -- cgit v1.2.3