I have this error: ''Execution of script plot as a function is not supported: C:\Users\Jonathan e Leonardo\Documents\MATLAB\plot.m''
134 views (last 30 days)
Alagu Sankar Esakkiappan on 24 Jan 2022
Aforementioned error occurs as plot is already an internal implemented function in MATLAB. You may check if there is any internal implementation already done for any specific function using which commmand:
which plot -all
This problem can be resolved by using a different filename for the current script, which is not already used for any other internal function in MATALB.