Error: Execution of script input as a function is not supported

I´m just trying to put an input on matlab 2020 and appears this:
Can u help me figure out what i´m doing wrong please? Thank u!
clc,clear,close
x1=input('Enter point A: ');
%on comand window:
%Execution of script input as a function is not supported:
%/Users/air/Documents/MATLAB/input.m

 Réponse acceptée

Voss
Voss le 10 Jan 2023
You have a script called input.m (located in /Users/air/Documents/MATLAB/). Rename it something else.

3 commentaires

OMG Voss, thank u so so much!! Yes! I haved a script called input, and it works doing what u suggested, words aren´t enough to thank u!!!
You're welcome!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by