Problems linking simmechanics to SolidWorks
Show older comments
When I installed MATLAB R2013a, I installed simechanics 4.2 along with it. I tried using the smlink_linksw command to link simmechanics to SolidWorks but it said Undefined function or variable 'smlink_linksw'. So I downloaded the zip file and the install_addon to double check the installation. I used the commands as directed on Matworks to install and register simmechanics. After I use the commands install_addon it says Archive architecture () does not match the MATLAB architecture (win64). Installation of smlinkr2013awin64 failed.
6 Comments
Enna Sachdeva
on 13 Sep 2016
Edited: Enna Sachdeva
on 13 Sep 2016
@Harold, were you able to solve the issue? I am able to install the addon, however, am getting the 'Undefined function or variable 'smlink_linksw' 'error.
Marlon Koendjbiharie
on 22 Sep 2016
Try running Matlab in administrator mode and run the command again
Peter Martin
on 13 Nov 2017
@Enna were you able to solve the issue? can you tell me how to made it? Many thanks
Mohamad Dashtbali
on 2 Aug 2022
I have the same problwm, though I downloaded the coorect version (Matlab 2021.a).
Does anyone know how to fix it?
Veron Antony
on 5 Aug 2022
I found a solution, but I'm not really sure, if there will be any issues later.
There are two functions in the install_addon.m file:
- check addon arch against matlab arch
- check addon ver against matlab ver
Just comment out these two functions. There's some error in these two functions, which is not allowing to install the plugin, even though the version and arch are correct. The installation was succesful after commenting out these functions.
Answers (1)
Steve Miller
on 6 Mar 2018
0 votes
It looks like you may have downloaded the wrong zip file for the Simscape Multibody Link software. If you are still struggling with this, please let us know.
--Steve
16 Comments
Prasanna Marudhu Balasubramanian
on 1 Dec 2018
I am not able to link Matlab to Solidworks using the command "smlink_linksw", throws Undefined Function or Variable error.
Can ou please help solve this issue.
kazuki watada
on 9 Jun 2020
me2.
DJILALI Larbi
on 29 Oct 2020
me2
Matthias Noack
on 28 Nov 2020
Hello guys, I have the same Problem with Matlab. Im trying to install the plugin for the use with Creo ptc.
Error: 'Error using install_addon (line 38)
Archive architecture () does not match the MATLAB architecture (win64).
Installation of zip failed.'
I have the MATLAB 2020a version and I downloaded the appropriate plugin-version.
Help would be great!
Ravi Karmur
on 4 Dec 2020
SAME PROBLEM
Harsh Patel
on 14 May 2021
i am having same problem help
Innocent Omineorisa
on 28 May 2021
Is there a solution to this problem, I'm having the exact same issue.
Quang Luong
on 3 Aug 2022
me too
Veron Antony
on 4 Aug 2022
I downloaded the right version. But I'm still facing the same issue.
Veron Antony
on 4 Aug 2022
I have commented out the version check and arch check from 'install_addon' file. It Installed successfully. I'm not sure if I'm going to face any issues later. Fingers crossed :D
Quang Luong
on 5 Aug 2022
hello Antony can you help me with it ??
Veron Antony
on 5 Aug 2022
Hi Quang, there are two functions in the install_addon.m file:
- check addon arch against matlab arch
- check addon ver against matlab ver
Just comment out these two functions. There's some error in these two functions, which is not allowing to install the plugin, even though the version and arch are correct.
Quang Luong
on 5 Aug 2022
I did it. Thank you very much.
Samruddhi Gawde
on 17 Aug 2022
How. I am still not getting. i have downloaded the correct version zip files.
Fares
on 5 Sep 2022
I always get this problem when installing simscape multibody link ( Archive architecture () does not match the MATLAB architecture (win64).)
what is the solution?
Walter Roberson
on 5 Sep 2022
This is a known problem. There is a work-around posted at https://www.mathworks.com/matlabcentral/answers/1769275-simscape-multibody-link-download#comment_2300695
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!