Problems linking simmechanics to SolidWorks

58 views (last 30 days)
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
Veron Antony
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:
  1. check addon arch against matlab arch
  2. 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.
Yue ma
Yue ma on 15 Aug 2022
Edited: Yue ma on 15 Aug 2022
It wroks! Thank you, Veron!

Sign in to comment.

Answers (1)

Steve Miller
Steve Miller on 6 Mar 2018
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
Fares
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?

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!