Difficulty installing simmechanics link utility addon

5 visualizzazioni (ultimi 30 giorni)
Good day. I'm having difficulty completing the installation process of the simmechanics link addon. I've followed the directions: downloaded smlink.r2010a.win32.zip because i use a 32 bit windows, downloaded the install_addon m-file and created an m-file for it, made sure the two files were in the current folder, and ran the install_addon command. Below is the response i got:
EDU>> install_addon('smlink.r2010a.win32.zip')
Installing smlink...
Extracting archive smlink.r2010a.win32.zip to C:\Program Files\MATLAB\R2010a Student...
Warning: Permission denied to create file "C:\Program Files\MATLAB\R2010a
Student\bin\win32\pmi_api.dll.csf".
> In iofun\private\extractArchive>extractArchiveEntry at 108
In iofun\private\extractArchive at 52
In unzip at 98
In install_addon at 53
Warning: Permission denied to create file "C:\Program Files\MATLAB\R2010a
Student\bin\win32\cl_sldwks2sm.dll".
> In iofun\private\extractArchive>extractArchiveEntry at 108
In iofun\private\extractArchive at 52
In unzip at 98
In install_addon at 53
Warning: Permission denied to create file "C:\Program Files\MATLAB\R2010a
Student\bin\win32\cl_proe2sm.dll".
> In iofun\private\extractArchive>extractArchiveEntry at 108
In iofun\private\extractArchive at 52
In unzip at 98
In install_addon at 53
Warning: Permission denied to create file "C:\Program Files\MATLAB\R2010a
Student\bin\win32\pmi_mli.dll.csf".
> In iofun\private\extractArchive>extractArchiveEntry at 108
In iofun\private\extractArchive at 52
In unzip at 98
In install_addon at 53
Warning: Permission denied to create file "C:\Program Files\MATLAB\R2010a
Student\bin\win32\pmi_mli.dll".
> In iofun\private\extractArchive>extractArchiveEntry at 108
In iofun\private\extractArchive at 52
In unzip at 98
In install_addon at 53
Warning: Permission denied to create file "C:\Program Files\MATLAB\R2010a
Student\bin\win32\pmi_api.dll".
> In iofun\private\extractArchive>extractArchiveEntry at 108
In iofun\private\extractArchive at 52
In unzip at 98
In install_addon at 53
Warning: Permission denied to create file "C:\Program Files\MATLAB\R2010a
Student\bin\win32\cl_inventor2sm.dll".
> In iofun\private\extractArchive>extractArchiveEntry at 108
In iofun\private\extractArchive at 52
In unzip at 98
In install_addon at 53
Warning: Permission denied to create file "C:\Program Files\MATLAB\R2010a
Student\bin\win32\pmi_toolkit_2.dll".
> In iofun\private\extractArchive>extractArchiveEntry at 108
In iofun\private\extractArchive at 52
In unzip at 98
In install_addon at 53
Warning: Permission denied to create file "C:\Program Files\MATLAB\R2010a
Student\bin\win32\pmi_toolkit_2.dll.csf".
> In iofun\private\extractArchive>extractArchiveEntry at 108
In iofun\private\extractArchive at 52
In unzip at 98
In install_addon at 53
Warning: Permission denied to create file "C:\Program Files\MATLAB\R2010a
Student\bin\registry\pmi_mli.xml".
> In iofun\private\extractArchive>extractArchiveEntry at 108
In iofun\private\extractArchive at 52
In unzip at 98
In install_addon at 53
??? Error using ==> mkdir
Access is denied.
Error in ==> extractArchive>extractArchiveEntry at 77
mkdir(parentDir)
Error in ==> extractArchive at 52
files = extractArchiveEntry( ...
Error in ==> unzip at 98
files = extractArchive(outputDir, api, mfilename);
Error in ==> install_addon at 53
unzipped_files = unzip(zip_file, install_dir);
What have i not done right and what should i do? Is there any other way to get this done? Thank you
  2 Commenti
Abdulgaffar TEFRUL
Abdulgaffar TEFRUL il 1 Mag 2016
>I have this same problem and I solved in this way:
-I download simmechanics link and install_addon again(I saved in Matlab Documents)
-I run Solidworks
-I run Matlab as administrator
-I pushed "set path" in menu toolbar and choose 'Add Folder' then choose and add SIMMECHANICS LINK folder(for activated simmechanics link)
-and I write Command Window ""install_addon('smlink.r2014a.win64.zip')"" and Installation of smlink completed
-And then write "smlink_linksw"
Everything this. Good Luck!
Neelay Doshi
Neelay Doshi il 24 Dic 2017
Modificato: Neelay Doshi il 24 Dic 2017
Hi Abdulgaffar, When I try installing the add_on I am receive the following error:
>> install_addon('smlink.r2017b.win64.zip')
Installing smlink...
Extracting archive smlink.r2017b.win64.zip to C:\Program
Files\MATLAB\R2017b...
Error using install_addon (line 52)
Access is denied.
I am running as admin. Can you please tell me how to resolve this issue ?

Accedi per commentare.

Risposte (3)

Walter Roberson
Walter Roberson il 27 Ott 2011
You might have to run the install_addon as administrator.
  1 Commento
Bill
Bill il 30 Dic 2011
I have the same problem and I've tried running it as administrator but I still get the same error message. Any other possible solutions?

Accedi per commentare.


SALVADOR GARCIA GARCIA
SALVADOR GARCIA GARCIA il 20 Lug 2013
TENGO EL MISMO PROBLEMA SOLO QUE MI MAQUINA ES DE 64 BITS Y EL MATLAB QUE TENGO ES R2010a

Ashutosh Kumar
Ashutosh Kumar il 21 Mar 2019
Modificato: Ashutosh Kumar il 21 Mar 2019
The message shown while using install_addon is:
Error using unzip
invalid zip file "D:\matlab
2016a\smlink.r2016a.win64.zip".

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by