saving . . . saved Error while executing mprintf('At iteration %i, Result is:\nalpha=%f,33,0.535) command has been deleted. Error while executing mprintf('At iteration %i, Result is:\nalpha=%f,33,0.535) command has been hidden .
Error while executing mprintf('At iteration %i, Result is:\nalpha=%f,33,0.535) command
Title
Question
While executing the command mprintf('At iteration %i, Result is:\nalpha=%f,33,0.535), I get an error: Unexpected end of file in a string.
I am using Scilab 6.1.0 on Ubuntu OS.

Scilab User-Defined-Input-and-Output 03-04 min 30-40 sec 15-09-20, 7:50 p.m. hbammkanti

Answers:

There is a missing close quote mark after %f. The correct command is mprintf('At iteration %i, Result is:\nalpha=%f',33,0.535)
16-09-20, 2:53 p.m. rashpat93


Log-in to answer to this question.