Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!e31g2000vbm.googlegroups.com!not-for-mail
From: Leotrisport <leonardoaraujo.santos@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Solidworks to simmechanics: export option missing from menu
Date: Wed, 18 Nov 2009 19:38:58 -0800 (PST)
Organization: http://groups.google.com
Lines: 41
Message-ID: <b4e9ab31-ef61-4f99-808e-01d0b6a96ca5@e31g2000vbm.googlegroups.com>
References: <hc4rr3$a6h$1@fred.mathworks.com> <hc4tfi$qea$1@fred.mathworks.com> 
	<hc6j5f$c45$1@fred.mathworks.com> <hcktmp$ehq$1@fred.mathworks.com>
NNTP-Posting-Host: 201.53.34.169
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1258601939 7991 127.0.0.1 (19 Nov 2009 03:38:59 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 19 Nov 2009 03:38:59 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: e31g2000vbm.googlegroups.com; posting-host=201.53.34.169; 
	posting-account=sJ2X7QoAAACIdCc1M6FBwqXdhATQPk4w
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) 
	AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.33 Safari/532.0,gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:586305


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

Hi Tegan I'm writing some tutorials using SimMechanics, in this
tutorial I'm modeling a servomotor please take a look and see if it
helps
http://www.tutoriaisengenharia.com/Electronics_Engineering/Actuators/Servomotor.php