Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started