Revision 1184, 0.8 kB
(checked in by smidl, 14 years ago)
|
corrections of PMSM simulations
|
-
Property svn:eol-style set to
native
|
Line | |
---|
1 | # Matlab toolbox of functions from BDM |
---|
2 | |
---|
3 | cmake_minimum_required(VERSION 2.6) |
---|
4 | PROJECT(bdmtoolbox) |
---|
5 | |
---|
6 | # Link it to BDM |
---|
7 | SET(BDM_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../library") |
---|
8 | SET(CMAKE_MODULE_PATH "${BDM_SOURCE_DIR}/system") |
---|
9 | |
---|
10 | # Load BDM environment |
---|
11 | INCLUDE(SetBdmEnv) |
---|
12 | |
---|
13 | include_directories (${BDM_SOURCE_DIR}/bdm) |
---|
14 | link_directories (${BDM_SOURCE_DIR}/bdm) |
---|
15 | |
---|
16 | # no simulator needed... |
---|
17 | EXEC(testbidiff) |
---|
18 | |
---|
19 | |
---|
20 | ###STUFF with SIMULATOR |
---|
21 | |
---|
22 | ## Build simulator |
---|
23 | add_subdirectory (simulator_zdenek) |
---|
24 | add_subdirectory (simulator_zdenek/ekf_example) |
---|
25 | |
---|
26 | ## Use it |
---|
27 | include_directories (./simulator_zdenek) |
---|
28 | link_directories (./simulator_zdenek) |
---|
29 | link_directories (./simulator_zdenek/ekf_example) |
---|
30 | |
---|
31 | EXEC (pmsm_estim pmsmsim ekf_obj) |
---|
32 | MEX (pmsm_estim pmsmsim ekf_obj) |
---|
33 | #EXEC (sim pmsmsim) |
---|
34 | #EXEC (sim_var pmsmsim) |
---|
35 | |
---|
36 | add_subdirectory (TR2245) |
---|