diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2015-08-11 17:03:25 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2015-08-11 17:03:25 -0400 |
commit | f6d14fdba9d85067f32d5673a9d9fd7f55017a6a (patch) | |
tree | 6d0f70fc0e4e55bdaf5caf21155296121b245d3c | |
parent | b2df59d7a6de9ed618b5b314cfca728df6a1a486 (diff) | |
download | linux-matlab-gpib-f6d14fdba9d85067f32d5673a9d9fd7f55017a6a.tar.gz linux-matlab-gpib-f6d14fdba9d85067f32d5673a9d9fd7f55017a6a.zip |
lgpib: write -> fwrite, to make it matlab compatible
-rw-r--r-- | lgpib.m | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 + |