Respected Sir/ Madam I am presently working with input command to read multiple data in scilab 6.0.0. It is behaving in inconsistent way. The problem I am facing is the input command is promoting me enter data twice or trice. I am posting the code as well. Please help me in this regard. Your help will be priceless. Yours sincerely T.V.Chandra Shekar
clc; clear; close; str = input("Enter a space-separated list of numbers: ", "string"); v = evstr(strsplit(str, " ")) disp(sum(v), "The sum:"); str = input("Enter a space-separated list of numbers: ", "string");
In the given code, you have two input commands which will prompt you to enter the data twice.