source: ThirdParty/levmar/matlab/README.txt@ 7516f6

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
Last change on this file since 7516f6 was 8ce1a9, checked in by Frederik Heber <heber@…>, 8 years ago

Merge commit '5443b10a06f0c125d0ae0500abb09901fda9666b' as 'ThirdParty/levmar'

  • Property mode set to 100644
File size: 1.4 KB
Line 
1This directory contains a matlab MEX interface to levmar. This interface
2has been tested with Matlab v. 6.5 R13 under linux and v. 7.4 R2007 under Windows.
3Users have also reported success with GNU Octave.
4
5FILES
6The following files are included:
7levmar.c: C MEX-file for levmar
8Makefile: UNIX makefile for compiling levmar.c using mex
9Makefile.w32: Windows makefile for compiling levmar.c using mex
10levmar.m: Documentation for the MEX interface
11lmdemo.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
19COMPILING
20Use the provided Makefile or Makefile.w32, depending on your platform.
21Alternatively, levmar.c can be compiled from matlab's prompt with a
22command like
23
24mex -DHAVE_LAPACK -I.. -O -L<levmar library dir> -L<blas/lapack libraries dir> levmar.c -llevmar -lclapack -lblas -lf2c
25
26Make sure that you substitute the angle brackets with the correct paths to
27the levmar and the blas/lapack directories. Also, on certain systems,
28-lf2c should be changed to -llibF77 -llibI77
29If your mex compiler has not been configured, the following command should be run first:
30
31mex -setup
32
33
34TESTING
35After compiling, execute lmdemo.m with matlab < lmdemo.m
Note: See TracBrowser for help on using the repository browser.