newbie question



Hi,

I've only programmed with Matlab before, and I am working to a very
tight deadline. I have to use some source code for something that is
only available in C/C++ and I plan to interface those scripts with
Matlab.

I need to modify the C files a little bit, by putting in the path to a
data set of images.

I have copied the part of the code I need to modify below:

########################################
#
# Required libraries

#Put in path to libCVD and gvars3
LIBSINCLUDE=-I $(HOME)/usr/include

#Put in library path to libCVD and gvars3
LIBSPATH=-I $(HOME)/usr/lib

LIBSPATH=-L $(HOME)/usr/arch/$(shell uname)-$(MACHINE)/lib


#######################################

Could somebody pleeeeeeeeeeeeeeease explain to me how I would do
this, and what the "-" and "$" operators do?

I have two folders with data in them, both are on my desktop. My guess
is that the LIBSINCLUDE path would be the path to my desktop, and the
two LIBSPATH paths would be to the two folders. But I really have no
idea.

It might help if I wrote the paths below:
C:\Users\Adam\Desktop\libcvd
C:\Users\Adam\Desktop\gvars3-20070808


Thankyou SO much for any help offered.

Adam

.



Relevant Pages

  • Simulink: Strange behaviour using C MEX S-Function
    ... i'm using Matlab 6.5 R13 and Simulink. ... As you can see in the source code i send "0.0" in the ... but i can't understand why the mdlOutputs method doesn't ... static void mdlInitializeSampleTimes ...
    (comp.soft-sys.matlab)
  • Re: Matlab crashes while running mex file
    ... I think its a C-Mex S-function which u r running. ... As far as folders are concerned its a generic practice to give a ... Make sure that u put the folders in the path of MATLAB. ... transaction 2, multilateral transaction 1. ...
    (comp.soft-sys.matlab)
  • Re: How to get the source code of a inbuilt function.
    ... I wanted to know how we can look at the source code of the inbuilt ... with a Matlab user license. ... EDIT IMREAD to open it in the Editor. ... MATLAB unless you refresh the cache. ...
    (comp.soft-sys.matlab)
  • Re: Get Directory Size (Urgent)
    ... That's why you will see negative values for folders above 2 GB in size. ... that's easy to repair, since you have the source code and can change counter ... - Clients, Stand-alone Servers, ISAPI extensions - ...
    (borland.public.delphi.thirdpartytools.general)
  • Protecting proprietary code with pcode?
    ... In the near future I will be distributing to customers the fruit of ... I wish to keep the source code (in ... Matlab) to myself. ... compiler for the usage of the MCR engine. ...
    (comp.soft-sys.matlab)