I am running matlab in linux. While running a script in matlab I get the following error. here RayMet_012007.ray_paths is the input located in a custom directory.
/bin/bash: line 0: type: RayMet_012007.ray_paths: not found
/bin/bash: line 0: type: RayMet_00.ray_paths: not found
Undefined function or variable 'AD'.
I couldn't figure out the problem. The script is working one. Also the matlab is installed in custom directory.
http://pastebin.com/CRSPpRzm (full script)
Your MATLAB code includes the command
On Linux platforms,
type
is a shell built-in to determine the type of an executable. You are probably thinking of the Windowstype
command, which prints the contents of a file - for which the Linux equivalent would becat
i.e.