Question: MATLAB SCRIPTING LANGUAGE I keep receiving this error message when carrying out automated testing on a script in matlab Error occurred in testmyScript/testProcess3 and it
MATLAB SCRIPTING LANGUAGE
Error occurred in testmyScript/testProcess3 and it did not run to completion.
---------
Error ID:
---------
'MATLAB:scriptNotAFunction'
--------------
Error Details:
--------------
Execution of script myScript as a function is not supported:
/Usersame/Documents/MATLAB/Documents/bigData/myScript.m
Error in testmyScript/testProcess3 (line 6)
output = myScript(input_data); % run the script on the input data
What's wrong? the script(myScript.m) works well, and i dont intend to run the script as a function with that line of code
code which generates error message (view image)
output = myScript ( input_data );% 6 run the script on the input data
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
