VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Need to edit makefile if compiling with Matlab?

While researching details for compiling models into .dlls for use with Veristand, I came across instructions (in the help files) that indicate I would need to edit the Veristand makefile so that it includes the paths to any c or h files that the model calls.  If I am using Matlab/Real-Time Workshop/Visual C++ to compile, the "Matlab Path" already points to the locations of all of the required files, so the compiler should know where to find the files, and it should include them.  Do I still need to edit the makefile to include the paths to the files? 

 

Thanks for your time,

 

GSinMN  

0 Kudos
Message 1 of 2
(5,813 Views)

Hi GSinMN,

 

Based on the documentation, Yes, you'll need to include them.  I took a quick look at the template makefile, and it doesn't seem to parse out any paths that may be specified in the dll.  You can try to compile it normally without adding the path.  If it errors out, then adding the path should make it behave as expected.

Che T.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(5,785 Views)