summaryrefslogtreecommitdiff
path: root/macros/GeneralFunctions/SCI2COpenFileRead.sci
diff options
context:
space:
mode:
authorimushir2016-02-09 16:38:27 +0530
committerimushir2016-02-09 16:38:27 +0530
commitee5bf4d90f78673d1e4d5a9dd304ee53c503c085 (patch)
tree696221a8f8a3dffeb50d12ea287dfbdfab919fc6 /macros/GeneralFunctions/SCI2COpenFileRead.sci
parent8ee41aca4183a0239b9cb220de3f159b1f0910fb (diff)
downloadScilab2C_fossee_old-ee5bf4d90f78673d1e4d5a9dd304ee53c503c085.tar.gz
Scilab2C_fossee_old-ee5bf4d90f78673d1e4d5a9dd304ee53c503c085.tar.bz2
Scilab2C_fossee_old-ee5bf4d90f78673d1e4d5a9dd304ee53c503c085.zip
Support for Servo motor for Arduino. Support for'diag' in c
Diffstat (limited to 'macros/GeneralFunctions/SCI2COpenFileRead.sci')
-rw-r--r--macros/GeneralFunctions/SCI2COpenFileRead.sci2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/GeneralFunctions/SCI2COpenFileRead.sci b/macros/GeneralFunctions/SCI2COpenFileRead.sci
index 1ad60ce..8e54738 100644
--- a/macros/GeneralFunctions/SCI2COpenFileRead.sci
+++ b/macros/GeneralFunctions/SCI2COpenFileRead.sci
@@ -24,7 +24,7 @@ SCI2CNInArgCheck(argn(2),1,1);
// --- Open the .sci file (read only). ---
[fidnumber,fiderror] = mopen(filename,'r');
if (fiderror < 0)
- SCI2Cerror(['Cannot open (in read mode): '+filename]);
+ error(['Cannot open (in read mode): '+filename]);
end
endfunction