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

조회 수: 3 (최근 30일)
Madalena Francisco
Madalena Francisco 2023년 1월 10일
댓글: Ali BOULGSOA 2023년 1월 12일
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

채택된 답변

Voss
Voss 2023년 1월 10일
You have a script called input.m (located in /Users/air/Documents/MATLAB/). Rename it something else.
  댓글 수: 3

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by