I have recently installed simmechanics link into my copy of matlab and then connected the simmechanics link to my solidworks software so that i can export models to simmechanics.
This took me a while but eventually they all linked up and i can add simmechanics into solidworks as an 'add-in' now.
The problem im having is that when i go to the simmechanics menu within solidworks (on the top tool menu) - the 'export to xml' option is missing - im totally confused because the all the other menu options are there - like export settings etc
Does anybody know how i can get the export option to show up on the menu?
Many thanks
T x
Subject: Solidworks to simmechanics: export option missing from menu
"tegan pringle" <tegan83@hotmail.com> wrote in message <hc4rr3$a6h$1@fred.mathworks.com>...
> Hello,
>
> I have recently installed simmechanics link into my copy of matlab and then connected the simmechanics link to my solidworks software so that i can export models to simmechanics.
>
> This took me a while but eventually they all linked up and i can add simmechanics into solidworks as an 'add-in' now.
>
> The problem im having is that when i go to the simmechanics menu within solidworks (on the top tool menu) - the 'export to xml' option is missing - im totally confused because the all the other menu options are there - like export settings etc
>
> Does anybody know how i can get the export option to show up on the menu?
>
> Many thanks
>
> T x
*****UPDATE: PROBLEM FIXED****************************************
I have fixed the problem - i forgot to register matlab as an automation server, i now have the option to save models as *XML files - but i guess it doesnt put an 'export' option on the simmechanics menu within solidworks.
Hopefully that bit of info will help somebody else with the same problem
"tegan pringle" <tegan83@hotmail.com> wrote in message
news:hc4tfi$qea$1@fred.mathworks.com...
> "tegan pringle" <tegan83@hotmail.com> wrote in message
> <hc4rr3$a6h$1@fred.mathworks.com>...
>> Hello,
>>
>> I have recently installed simmechanics link into my copy of matlab and
>> then connected the simmechanics link to my solidworks software so that i
>> can export models to simmechanics.
>>
>> This took me a while but eventually they all linked up and i can add
>> simmechanics into solidworks as an 'add-in' now.
>>
>> The problem im having is that when i go to the simmechanics menu within
>> solidworks (on the top tool menu) - the 'export to xml' option is
>> missing - im totally confused because the all the other menu options are
>> there - like export settings etc
>>
>> Does anybody know how i can get the export option to show up on the menu?
>>
>> Many thanks
>>
>> T x
>
>
>
>
> *****UPDATE: PROBLEM FIXED****************************************
>
> I have fixed the problem - i forgot to register matlab as an automation
> server, i now have the option to save models as *XML files - but i guess
> it doesnt put an 'export' option on the simmechanics menu within
> solidworks.
>
> Hopefully that bit of info will help somebody else with the same problem
>
> ************************************************************
>
Yes, you need to register MATLAB as an automation server. In Pro/E, there is
an export to SimMechanics option in the SimMechanics menu item, but I think
in SolidWorks it's different, you just do File -> Save As... -> SimMechanics
(.XML).
Arnaud
Subject: Solidworks to simmechanics: export option missing from menu
> >
>
> Yes, you need to register MATLAB as an automation server. In Pro/E, there is
> an export to SimMechanics option in the SimMechanics menu item, but I think
> in SolidWorks it's different, you just do File -> Save As... -> SimMechanics
> (.XML).
>
> Arnaud
>
Many thanks Arnaud i have now managed to sucessfully export the xml file, but im still having trouble importing the xml file into simmechanics i keep getting the following error message when i use the import_physmod command to try and import the xml file:
Warning: Undefined function or variable 'mech_import'.
> In C:\Program Files\MATLAB\R2008a\toolbox\physmod\pmimport\pmimport\pmiu_dlg.p>OkBtn_Callback at 175
In gui_mainfcn at 96
In C:\Program Files\MATLAB\R2008a\toolbox\physmod\pmimport\pmimport\pmiu_dlg.p>pmiu_dlg at 44
I am using matlab 2008a - that is why i used the import_physmod command and not the mech_import command.
Would you be able to shed any light on this error message as i cant find any way to fix it.
Many thanks
Tegan
Subject: Solidworks to simmechanics: export option missing from menu
On 1 nov, 19:14, "tegan pringle" <tega...@hotmail.com> wrote:
> > Yes, you need to register MATLAB as an automation server. In Pro/E, there is
> > an export toSimMechanicsoption in theSimMechanicsmenu item, but I think
> > in SolidWorks it's different, you just do File -> Save As... ->SimMechanics
> > (.XML).
>
> > Arnaud
>
> ********************************************************
>
> Many thanks Arnaud i have now managed to sucessfully export the xml file, but im still having trouble importing the xml file intosimmechanicsi keep getting the following error message when i use the import_physmod command to try and import the xml file:
>
> Warning: Undefined function or variable 'mech_import'.> In C:\Program Files\MATLAB\R2008a\toolbox\physmod\pmimport\pmimport\pmiu_dlg.p>OkBtn_Call back at 175
>
> In gui_mainfcn at 96
> In C:\Program Files\MATLAB\R2008a\toolbox\physmod\pmimport\pmimport\pmiu_dlg.p>pmiu_dlg at 44
>
> I am using matlab 2008a - that is why i used the import_physmod command and not the mech_import command.
>
> Would you be able to shed any light on this error message as i cant find any way to fix it.
>
> Many thanks
>
> Tegan
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.