What will the following command do? Load m1

What will the following command do?
Load m1
A. Load the script file named ‘m1’
B. Load the function file named ‘m1’
C. Load the m-file named ‘m1’
D. There is no Load command in MATLAB
 
Answer: c
Explanation: The command ‘load’ is pre-defined in MATLAB. It is used to load an M-file and run it to show get the output which is supposed to be generated from the m-file. Not the m-file can be a script file or a function file. Since the question does not mention whether the m file is a script or a function file, the possible option is Load the function file named ‘m1’.
 

Tìm kiếm

Back
Top