Difficulty installing simmechanics link utility addon

19 Ansichten (letzte 30 Tage)
Kingsley
Kingsley am 27 Okt. 2011
Bearbeitet: Ashutosh Kumar am 21 Mär. 2019
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 Kommentare
Abdulgaffar TEFRUL
Abdulgaffar TEFRUL am 1 Mai 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 am 24 Dez. 2017
Bearbeitet: Neelay Doshi am 24 Dez. 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 ?

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Walter Roberson
Walter Roberson am 27 Okt. 2011
You might have to run the install_addon as administrator.
  1 Kommentar
Bill
Bill am 30 Dez. 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?

Melden Sie sich an, um zu kommentieren.


SALVADOR GARCIA GARCIA
SALVADOR GARCIA GARCIA am 20 Jul. 2013
TENGO EL MISMO PROBLEMA SOLO QUE MI MAQUINA ES DE 64 BITS Y EL MATLAB QUE TENGO ES R2010a

Ashutosh Kumar
Ashutosh Kumar am 21 Mär. 2019
Bearbeitet: Ashutosh Kumar am 21 Mär. 2019
The message shown while using install_addon is:
Error using unzip
invalid zip file "D:\matlab
2016a\smlink.r2016a.win64.zip".

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by