aboutsummaryrefslogtreecommitdiff
path: root/lgpib.m
diff options
context:
space:
mode:
Diffstat (limited to 'lgpib.m')
-rw-r--r--lgpib.m6
1 files changed, 3 insertions, 3 deletions
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
+