Input doesn't work
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I was working on writing a script but when I included the input function I received the following error: Attempt to execute SCRIPT input as a function: /Users/Jzhang/Documents/MATLAB/input.m Error in circle_area (line 2) radius=input('Enter the radius:'); I've tried the input function in other scripts as well and they were working before but not anymore. Can anyone help me figure out this problem? Thanks
0 Commenti
Risposta accettata
Image Analyst
il 8 Ott 2013
Don't call it input.m. input is the name of a built-in function. Call it something else, like myInput().
12 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!