- Joined
- Aug 14, 2009
- Messages
- 27,486
It''s pretty specific. I''ve posted in a couple of tech forums, but I''m thinking PS is such a diverse group there''s a pretty good shot someone here can help - with a much quicker turnaround!
I''m using the mcc command. Tried going mcc -m myfun. Also tried the deploytool.
My code compiles fine on a windows machine. But on the cluster(linux), I get this error:
sh: ifconfig: command not found.
I tried adding /sbin/ to the path - didn''t help. I tried copying the ifconfig file to the working directory. Also failed. Tried modifying the mbuildopts.sh file - not sure if I did that right, but it didn''t work. All I want is to compile my matlab code so that it will work on a linux machine that doesn''t have matlab(the other clusters don''t have matlab).

I''m using the mcc command. Tried going mcc -m myfun. Also tried the deploytool.
My code compiles fine on a windows machine. But on the cluster(linux), I get this error:
sh: ifconfig: command not found.
I tried adding /sbin/ to the path - didn''t help. I tried copying the ifconfig file to the working directory. Also failed. Tried modifying the mbuildopts.sh file - not sure if I did that right, but it didn''t work. All I want is to compile my matlab code so that it will work on a linux machine that doesn''t have matlab(the other clusters don''t have matlab).