shape
carat
color
clarity

Can anyone help me with a MATLAB problem?

Status
Not open for further replies. Please create a new topic or request for this thread to be opened.

yssie

Super_Ideal_Rock
Premium
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!
9.gif



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).
 
How did you edit mbuildopts.sh? The instructions (that I am sure you read as well) say to change line 49 to read:
CLIBS=3D"$RPATH $MLIBS -lm $TMW_ROOT/sys/os/$Arch/libstdc++.so.6""

BUT, I think you need to change .6 so 6=x where x is your version number. So these instructions were specific to someone using matlab 2006.
 
y2kitty - thanks! I tried changing it, doesn''t seem to be working
7.gif
I''m going to try restoredefaultpath and then compiling. Worth a shot, right?
 
I clicked on this thread thinking "Hey, I''ve used Matlab, maybe I''ll remember something.

23.gif


Way over my head!! Lol
 
Date: 2/28/2010 8:39:35 PM
Author: elrohwen
I clicked on this thread thinking ''Hey, I''ve used Matlab, maybe I''ll remember something.


23.gif



Way over my head!! Lol

HAHA. elro, GIANT DITTO! Then again, I didn''t really understand Matlab very well in the first place...I was much better with LabView.
20.gif
 
Status
Not open for further replies. Please create a new topic or request for this thread to be opened.
GET 3 FREE HCA RESULTS JOIN THE FORUM. ASK FOR HELP
Top