Issue:
--> mputstr(["Scilab" ; "Xcos"], fd)
mputstr: Wrong type for input argument #1: string expected.
Test:
fid = mopen(tempname(), "wt");
mputstr(["Scilab" ; "Xcos"], fid);
mclose(fid);
Change-Id: I3b6c586c1b77328ebb2ce7a0d0f31eb08170e689
if (in[0]->isString() == false || in[0]->getAs<types::String>()->isScalar() == false)
{
- Scierror(999, _("%s: Wrong type for input argument #%d: string expected.\n"), "mputstr", 1);
+ Scierror(999, _("%s: Argument #%d: a single string expected.\n"), "mputstr", 1);
return types::Function::Error;
}