|
"tegan pringle" <tegan83@hotmail.com> wrote in message
news:hcn40q$m58$1@fred.mathworks.com...
>
>> >
>>
>> It sounds like you have a mismatch between your MATLAB version and
>> SimMechanics Link version. Are you sure you downloaded and installed the
>> R2008a version? What do you get when you type ver at the MATLAB command
>> line? I assume you typed something like import_physmod('filename.xml').
>> What
>> do you get when you type "which -all import_physmod" and "which -all
>> mech_import" at the MATLAB command line?
>>
>> Arnaud
>>
>>
> *******************************************************
>
> Hiya,
>
> i think you might be right about the mismatch , this is some of the lines
> i got when i typed 'ver' at the command line:
>
> -------------------------------------------------------------------------------------
> MATLAB Version 7.6.0.324 (R2008a)
> MATLAB License Number: 161051
> Operating System: Microsoft Windows Vista Version 6.0 (Build 6002: Service
> Pack 2)
> Java VM Version: Java 1.6.0 with Sun Microsystems Inc. Java HotSpot(TM)
> Client VM mixed mode
> -------------------------------------------------------------------------------------
> MATLAB Version 7.6
> (R2008a)
> Simulink Version 7.1
> (R2008a)
> SimMechanics Version 2.7.1
> (R2008a)
> SimMechanics Link Version 3.0
> (R2008b+)
>
>
> also this is what i got when i typed in the command you gave above:
>
>
>>> which -all import_physmod
> C:\Program
> Files\MATLAB\R2008a\toolbox\physmod\pmimport\pmimport\import_physmod.m
>>> which -all mech_import
> 'mech_import' not found.
>
>
> I went back to the page where i downloaded simmechanics link from but
> there was no option to download it for matlab 2008a - does this mean that
> its not compatible with the 2008a version? If there is a compatible
> verison of simmechanics link would you be able to point me in the right
> direction so that i can download it please.
>
> Many thanks for your help.
>
> Tegan
>
SimMechanics Link was introduced in R2008b, so the version you have won't
work in R2008a. You can either upgrade to R2008b (or later) or contact
technical support as the old SolidWorks to SimMechanics (prior to R2008b) is
not available for download anymore:
http://www.mathworks.com/support/contact_us/index.html
Arnaud
|