stephenbeckr / L-BFGS-B-C

L-BFGS-B, converted from Fortran to C, with Matlab wrapper
BSD 3-Clause "New" or "Revised" License
108 stars 56 forks source link

mex umbiguity #1

Closed antiquity closed 9 years ago

antiquity commented 9 years ago

For linux system with latex system installed, the mex can be taken as a command for pdftex. I think it is better to add the following to the beginning of Makefile:

MATLAB = $(shell matlab -e | sed -n 's/MATLAB=//p')
CC = $(MATLAB)/bin/mex
stephenbeckr commented 9 years ago

Good idea. I've updated to include the new version you suggest.