saving . . . saved Executing save('matrix-a-b.dat',a,b) command has been deleted. Executing save('matrix-a-b.dat',a,b) command has been hidden .
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 15-09-20, 8:19 p.m. hbammkanti

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')
16-09-20, 12:04 p.m. rashpat93


Log-in to answer to this question.