Executing save('matrix-a-b.dat',a,b) command
Title
Question
While executing save('matrix-a-b.dat',a,b) command , I get this error:
save: Wrong type for input argument #2: A String expected.
I am using Scilab 6.1.0 on Ubuntu OS.
Scilab User-Defined-Input-and-Output 08-09 min 0-10 sec
Answers:
You can solve this by putting the a and b variables in single quotes. The correct command is hence save('matrix-a-b.dat','a','b')
Login to add comment