User`s guide
MADYMO Coupling Manual Release 7.5
9 MATLAB/Simulink coupling
MADYMO provides a coupling with MATLAB/ Simulink. The coupling is available on plat-
forms which are supported by both MADYMO and The MathWorks
R
, MATLAB R2009a (see
the MathWorks User guide or visit
www.mathworks.com). This does not exclude possible
compatibility with another MATLAB version.
This coupling is based on a TCP/IP connection between the S-function named
madymo3d_server and MADYMO. It allows the user to run MATLAB/ Simulink on the same
or different computer than where MADYMO is running. However, note that MADYMO can
only connect and communicate with the same type of platform using the IP address HOST_-
ADDRESS. See Fig.
9.1 for the detailed structure of the coupling of the two environments.
joint.*
(states)
signal.
external_
output
signal.
external_
input
TCP/IP
MATLAB environment
Simulink
Mux
Solver
MADYMO/Solver
MADYMO environment
Demux
server
madymo3d_
S−function
CONTROL_
protocolprotocol
client port
local / network
MATLAB_
HOST
server port
Figure 9.1: Detailed outline of the coupling.
9.1 Compatible MATLAB version
As explained, the S-function madymo3d_server is a coupling program running within MAT-
LAB to communicate with MADYMO. For each program the system requirements are given by
its vendor. For system requirements of the MADYMO solver see the Installation Instructions.
Since we have two programmes, the system requirements may be conflicting. The coupling
program of this MADYMO version is based on the MATLAB build and test versions are stated
in the following table.
51