Difficulty installing simmechanics link utility addon
Mostrar comentarios más antiguos
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 comentarios
Abdulgaffar TEFRUL
el 1 de Mayo de 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
el 24 de Dic. de 2017
Editada: Neelay Doshi
el 24 de Dic. de 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 ?
Respuestas (3)
Walter Roberson
el 27 de Oct. de 2011
1 voto
You might have to run the install_addon as administrator.
1 comentario
Bill
el 30 de Dic. de 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?
SALVADOR GARCIA GARCIA
el 20 de Jul. de 2013
0 votos
TENGO EL MISMO PROBLEMA SOLO QUE MI MAQUINA ES DE 64 BITS Y EL MATLAB QUE TENGO ES R2010a
Ashutosh Kumar
el 21 de Mzo. de 2019
Editada: Ashutosh Kumar
el 21 de Mzo. de 2019
0 votos
The message shown while using install_addon is:
Error using unzip
invalid zip file "D:\matlab
2016a\smlink.r2016a.win64.zip".
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!