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
显示 更早的评论
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 个)
Steven Lord
2022-7-8
0 个投票
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!