xwb
Computer
- Apr 29, 2005
- 535
Newbie question.
I have environment variables pointing to include directories. I'd like to write something like
mex fred.c -I$(dist)\include -L$(dist)\lib -l libs
The only problem is I can't find the syntax of the environment variables anywhere. I've tried
$dist
%dist - it takes the %d off and I'm left with ist
%dist% - takes the %d off but not the %\
$(dist)
%<dist>%
I've looked through the internet and as much help text as I can find on Matlab but I can't see anything. Maybe they call it something completely different.
Can anyone tell me what the syntax is for environment variables?
I have environment variables pointing to include directories. I'd like to write something like
mex fred.c -I$(dist)\include -L$(dist)\lib -l libs
The only problem is I can't find the syntax of the environment variables anywhere. I've tried
$dist
%dist - it takes the %d off and I'm left with ist
%dist% - takes the %d off but not the %\
$(dist)
%<dist>%
I've looked through the internet and as much help text as I can find on Matlab but I can't see anything. Maybe they call it something completely different.
Can anyone tell me what the syntax is for environment variables?