Error in eli (line 8) rad=input('enter') >> eli Attempt to execute SCRIPT input as a function: C:\Users\HP Pavilion G6\OneDriv​e\Document​s\MATLAB\i​nput.m Error in eli (line

Error in eli (line 8)
rad=input('enter')
>> eli
Attempt to execute SCRIPT input as a function:
C:\Users\HP Pavilion G6\OneDrive\Documents\MATLAB\input.m
Error in eli (line 8)
rad=input('enter')
>> eli
Attempt to execute SCRIPT input as a function:
C:\Users\HP Pavilion G6\OneDrive\Documents\MATLAB\input.m
Error in eli (line 8)
rad=input('enter')
>>

回答(1 个)

You've written your own input.m that prevents MATLAB from calling the input function included with MATLAB. Rename or remove the file C:\Users\HP Pavilion G6\OneDrive\Documents\MATLAB\input.m.

类别

帮助中心File Exchange 中查找有关 MATLAB Coder 的更多信息

产品

版本

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by