Problems linking simmechanics to SolidWorks

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 件のコメント

Enna Sachdeva
Enna Sachdeva 2016 年 9 月 13 日
編集済み: Enna Sachdeva 2016 年 9 月 13 日
@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
Marlon Koendjbiharie 2016 年 9 月 22 日
Try running Matlab in administrator mode and run the command again
Peter Martin
Peter Martin 2017 年 11 月 13 日
@Enna were you able to solve the issue? can you tell me how to made it? Many thanks
Mohamad Dashtbali
Mohamad Dashtbali 2022 年 8 月 2 日
I have the same problwm, though I downloaded the coorect version (Matlab 2021.a).
Does anyone know how to fix it?
Veron Antony
Veron Antony 2022 年 8 月 5 日
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 2022 年 8 月 15 日
編集済み: Yue ma 2022 年 8 月 15 日
It wroks! Thank you, Veron!

サインインしてコメントする。

回答 (1 件)

Steve Miller
Steve Miller 2018 年 3 月 6 日

0 投票

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 件のコメント

Prasanna Marudhu Balasubramanian
Prasanna Marudhu Balasubramanian 2018 年 12 月 1 日
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
kazuki watada 2020 年 6 月 9 日

me2.

DJILALI Larbi
DJILALI Larbi 2020 年 10 月 29 日
me2
Matthias Noack
Matthias Noack 2020 年 11 月 28 日
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
Ravi Karmur 2020 年 12 月 4 日
SAME PROBLEM
Harsh Patel
Harsh Patel 2021 年 5 月 14 日
i am having same problem help
Innocent Omineorisa
Innocent Omineorisa 2021 年 5 月 28 日
Is there a solution to this problem, I'm having the exact same issue.
Quang Luong
Quang Luong 2022 年 8 月 3 日
me too
Veron Antony
Veron Antony 2022 年 8 月 4 日
I downloaded the right version. But I'm still facing the same issue.
Veron Antony
Veron Antony 2022 年 8 月 4 日
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
Quang Luong 2022 年 8 月 5 日
hello Antony can you help me with it ??
Veron Antony
Veron Antony 2022 年 8 月 5 日
Hi Quang, 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.
Quang Luong
Quang Luong 2022 年 8 月 5 日
I did it. Thank you very much.
Samruddhi Gawde
Samruddhi Gawde 2022 年 8 月 17 日
How. I am still not getting. i have downloaded the correct version zip files.
Fares
Fares 2022 年 9 月 5 日
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
Walter Roberson 2022 年 9 月 5 日

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2014 年 4 月 13 日

コメント済み:

2022 年 9 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by