This enhancement has been incorporated in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
We have verified that there is a bug in SimDriveline 1.0.2 (R14SP2) in the way that motion measurements vary depending on which side of the Variable Ratio Gear block the Driveline Environment block is attached.
To work around this issue, download a revised version of the files mentioned below. Here are the required steps:
1. Quit MATLAB
2. Download the file 'drive_engine.mexglx' and place the file in the following directory:
$MATLABtoolbox\physmod\drive\drive\
(where $MATLAB is the MATLAB root directory on your machine, as returned by typing
at the MATLAB command prompt.)
3. Download the file 'drive_codegen_files.tar.gz', unzip it, and place the unzipped files in the following directory:
$MATLAB\toolbox\physmod\drive\c\
(where $MATLAB is the MATLAB root directory on your machine, as returned by typing
at the MATLAB command prompt.)
4. Download the file 'drive_precomplib_glnx86.tar.gz', unzip it, and place the unzipped files in the following directory:
$MATLAB\toolbox\physmod\drive\lib\glnx86\
(where $MATLAB is the MATLAB root directory on your machine, as returned by typing
at the MATLAB command prompt.)
4. Restart MATLAB
5. After restarting MATLAB, issue the following command at the MATLAB prompt:
Note: This solution is for Linux only
Best Answer