MATLAB: Am I not able to open the SimMechanics library on the 64-bit Linux machine in MATLAB 7.6 (R2008a)

Simscape Multibody

I receive the following error messages when I try to open my SimMechanics model with a 32-bit version of MATLAB on a 64-bit Linux machine:
Warning: Error evaluating 'LoadFcn' callback of Spherical block (mask)
'mblibv1/Joints/Spherical'. Unable to load 'mechanical' due to the following
error
'/software/matlabr2008a/toolbox/physmod/mech/mech/../../../../../bin/glnx86/
libmwrtst_cg.so: undefined symbol: cg_type_constr_enum_value'.
> In
/software/matlabr2008a/toolbox/physmod/mech/mech/private/pmNeighbors.p>isNonMech
SubsystemBlock at 368
In
/software/matlabr2008a/toolbox/physmod/mech/mech/private/pmNeighbors.p>pmNei
ghbors at 97
In
/software/matlabr2008a/toolbox/physmod/mech/mech/mech_support.p>registerNbrL
istener at 1521
In
/software/matlabr2008a/toolbox/physmod/mech/mech/mech_support.p>mech_support
at 209
Warning: Error evaluating 'LoadFcn' callback of Telescoping block (mask)
'mblibv1/Joints/Telescoping'. Unable to load 'mechanical' due to the
following error
'/software/matlabr2008a/toolbox/physmod/mech/mech/../../../../../bin/glnx86/
libmwrtst_cg.so: undefined symbol: cg_type_constr_enum_value'.
> In
/software/matlabr2008a/toolbox/physmod/mech/mech/private/pmNeighbors.p>isNonMech
SubsystemBlock at 368
In
/software/matlabr2008a/toolbox/physmod/mech/mech/private/pmNeighbors.p>pmNei
ghbors at 97
In
/software/matlabr2008a/toolbox/physmod/mech/mech/mech_support.p>registerNbrL
istener at 1521
In
/software/matlabr2008a/toolbox/physmod/mech/mech/mech_support.p>mech_support
at 209
[snip]

Best Answer

As the error messages suggest, the SimMechanics shared libraries were not loaded correctly, which caused an issue with the symbols defined in these libraries. Using 32-bit SimMechanics libraries on a 64-bit machine is not supported. Ensure that you are using a 64-bit installation of MATLAB to use SimMechanics on a 64-bit machine.