Action_Thermostats
Adding_MD_integration_tests
Adding_StructOpt_integration_tests
AutomationFragmentation_failures
Candidate_v1.6.1
ChemicalSpaceEvaluator
Enhanced_StructuralOptimization
Enhanced_StructuralOptimization_continued
Exclude_Hydrogens_annealWithBondGraph
Fix_Verbose_Codepatterns
ForceAnnealing_with_BondGraph
ForceAnnealing_with_BondGraph_continued
ForceAnnealing_with_BondGraph_continued_betteresults
ForceAnnealing_with_BondGraph_contraction-expansion
Gui_displays_atomic_force_velocity
JobMarket_RobustOnKillsSegFaults
JobMarket_StableWorkerPool
PythonUI_with_named_parameters
Recreated_GuiChecks
StoppableMakroAction
TremoloParser_IncreasedPrecision
Line | |
---|
1 | This directory contains a matlab MEX interface to levmar. This interface
|
---|
2 | has been tested with Matlab v. 6.5 R13 under linux and v. 7.4 R2007 under Windows.
|
---|
3 | Users have also reported success with GNU Octave.
|
---|
4 |
|
---|
5 | FILES
|
---|
6 | The following files are included:
|
---|
7 | levmar.c: C MEX-file for levmar
|
---|
8 | Makefile: UNIX makefile for compiling levmar.c using mex
|
---|
9 | Makefile.w32: Windows makefile for compiling levmar.c using mex
|
---|
10 | levmar.m: Documentation for the MEX interface
|
---|
11 | lmdemo.m: Demonstration of using the MEX interface; run as matlab < lmdemo.m
|
---|
12 |
|
---|
13 | *.m: Matlab functions implementing various objective functions and their Jacobians.
|
---|
14 | For instance, meyer.m implements the objective function for Meyer's (reformulated)
|
---|
15 | problem and jacmeyer.m implements its Jacobian.
|
---|
16 |
|
---|
17 |
|
---|
18 |
|
---|
19 | COMPILING
|
---|
20 | Use the provided Makefile or Makefile.w32, depending on your platform.
|
---|
21 | Alternatively, levmar.c can be compiled from matlab's prompt with a
|
---|
22 | command like
|
---|
23 |
|
---|
24 | mex -DHAVE_LAPACK -I.. -O -L<levmar library dir> -L<blas/lapack libraries dir> levmar.c -llevmar -lclapack -lblas -lf2c
|
---|
25 |
|
---|
26 | Make sure that you substitute the angle brackets with the correct paths to
|
---|
27 | the levmar and the blas/lapack directories. Also, on certain systems,
|
---|
28 | -lf2c should be changed to -llibF77 -llibI77
|
---|
29 | If your mex compiler has not been configured, the following command should be run first:
|
---|
30 |
|
---|
31 | mex -setup
|
---|
32 |
|
---|
33 |
|
---|
34 | TESTING
|
---|
35 | After compiling, execute lmdemo.m with matlab < lmdemo.m
|
---|
Note:
See
TracBrowser
for help on using the repository browser.