Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Simmechanics link for importing Solidworks models

269 views
Skip to first unread message

JAY

unread,
Aug 30, 2012, 6:27:08 AM8/30/12
to
Hi,

I want to install SimMechanics link add-on in order to transport Solidworks 2011 assembly to simmechanics. I have downloaded the files **smlink.r2012a.win64** and **install_addon.m**.
When I try to install the Zip file using the command install_addon('smlink.r2012a.win64.zip'), the following errors are appearing:



Error using mkdir
Access is denied.

Error in extractArchive>extractArchiveEntry (line 74)
mkdir(parentDir)

Error in extractArchive (line 49)
files = extractArchiveEntry( ...

Error in unzip (line 98)
files = extractArchive(outputDir, api, mfilename);

Error in install_addon (line 53)
unzipped_files = unzip(zip_file, install_dir);

Please suggest me a method to resolve these errors..
I'am using MATLAB R2012a in Windows 7, 64 bit.

Thanks

Steven_Lord

unread,
Aug 30, 2012, 9:31:17 AM8/30/12
to


"JAY " <jay.n...@gmail.com> wrote in message
news:k1nf5s$b0b$1...@newscl01ah.mathworks.com...
> Hi,
>
> I want to install SimMechanics link add-on in order to transport
> Solidworks 2011 assembly to simmechanics. I have downloaded the files
> **smlink.r2012a.win64** and **install_addon.m**.
> When I try to install the Zip file using the command
> install_addon('smlink.r2012a.win64.zip'), the following errors are
> appearing:
>
>
>
> Error using mkdir
> Access is denied.

The obvious first question is: do you have write permissions to the location
where you're trying to install this add-on? Since this documentation:

http://www.mathworks.com/help/toolbox/physmod/smlink/ug/brpyzn7-1.html

indicates that the ZIP-file will be extracted to MATLABROOT, check if you
can create a file in MATLABROOT. If you can't, either change the permissions
of that directory so you can; run MATLAB as a user that does have
permissions to do so; or ask your administrator (who almost certainly WILL
have write permission for that directory) to install it.

--
Steve Lord
sl...@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

0 new messages