-
Notifications
You must be signed in to change notification settings - Fork 472
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Including interface files and S-function files to be able to run JSBSim from Simulink. The setup files JSBSimSImulinkCompile and clearSF are also included. A short readme files includes instructions on how to run it in Simulink. Co-authored-by: Agostino De Marco <[email protected]> Co-authored-by: Elia Tarasov <[email protected]> Co-authored-by: Michal Podhradsky <[email protected]>
- Loading branch information
1 parent
889aab8
commit d5a7a71
Showing
12 changed files
with
1,618 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
find_package(Matlab) | ||
|
||
if(Matlab_FOUND) | ||
matlab_add_mex(NAME JSBSim_SFunction SRC JSBSim_SFunction.cpp JSBSimInterface.cpp | ||
LINK_TO libJSBSim) | ||
target_include_directories(JSBSim_SFunction PUBLIC ${CMAKE_SOURCE_DIR}/src | ||
${Matlab_ROOT_DIR}/simulink/include) | ||
endif(Matlab_FOUND) |
Oops, something went wrong.