You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Puzzled why the input statement (and other i/o statements) don't work after the first iteration.
Here's my simple code
for i=1:3
s = input ("Pick a number, any number! ", "s")
fprintf('your number is: ', s);
end
First iteration, displays the prompt with a window to enter the number. Then it prints the number as expected. But nothing after that. I can see the kernel is running in Jupyter, but no prompt. Nothing happen, even if I enter a number. I did similar experiments with Pause, and plotting in a loop, with similar results.
Where should I look?
The text was updated successfully, but these errors were encountered:
Yeah, that is probably not going to be easy to fix. You can look at the way that the kernel talks to the octave executable, but that is probably not easily put into a loop controlled by octave.
Puzzled why the input statement (and other i/o statements) don't work after the first iteration.
Here's my simple code
for i=1:3
s = input ("Pick a number, any number! ", "s")
fprintf('your number is: ', s);
end
First iteration, displays the prompt with a window to enter the number. Then it prints the number as expected. But nothing after that. I can see the kernel is running in Jupyter, but no prompt. Nothing happen, even if I enter a number. I did similar experiments with Pause, and plotting in a loop, with similar results.
Where should I look?
The text was updated successfully, but these errors were encountered: