+1 vote
in Matlab by

What is the type of program files that MatLab allows to write?

1 Answer

0 votes
by

Matlab allows two types of program files

Scripts: It is a file with .m extension. In these files, it writes series of command that you want to execute together. It does not accept inputs and do not return any outputs

Functions: They are also files with .m extension. Functions can accept inputs and return outputs.

Related questions

+1 vote
asked Jul 30, 2020 in Matlab by Robindeniel
+1 vote
asked Jul 31, 2020 in Matlab by sharadyadav1986
...