how to install SimMechanics in Mac?

im trying to install simMechanics in Mac.
i have installed MatLab in Mac OS X Mountain lion but Solid works is installed in a virtual machine on my Mac... so i want to install the addon for SolidWorks but i dont know how...
i have downloaded 'smlink.r2013a.maci64.zip' and i've tryed to install but matlab return this message
"Undefined function 'install_addon' for input arguments of type 'char'." (image attached)
So i need help How can i install SimMechanics Addon in SolidWorks?
Thanks

4 comentarios

Alain McGregor
Alain McGregor el 19 de Ag. de 2017
Hi, Im trying to link in inventor with Matlab. Have installed the packages necessary as far as I can tell.
go to finish up and by typing the following command and the proceeding error messages occur:
">> smlink_linkinv
Error using smlink_linkinv (line 13)
This add-in is available for Windows only"
Why would they have a mac download if this was the case ? any ideas how to resolve so i can export from Inventor?
resolution would be greatly appreciated.
Thanks
Walter Roberson
Walter Roberson el 19 de Ag. de 2017
"Supported operating systems for your CAD platform are win32 and win64 except where noted below.
PTC Wildfire 4.0 on win64 is not supported for MATLAB Release R2012b and higher"
"Step 3: Register MATLAB as an Automation Server
Each time you export a CAD assembly model, the Simscape Multibody Link plug-in attempts to connect to MATLAB. For the connection to occur, you must register MATLAB as an automation server. You can do this in two ways:
  • In a MATLAB session running in administrator mode — At the command prompt, enter regmatlabserver.
  • In an MS-DOS window running in administrator mode — At the command prompt, enter matlab -regserver."
Notice no mention of Mac or Linux. Registering as an automation server is something that is only possible on MS Windows.
I agree that the documentation does not make it obvious that only MS Windows is supported, but the information is distributed around.
Alain McGregor
Alain McGregor el 20 de Ag. de 2017
Okay, thanks.
I will try to run it all on a virtual machine then.
Rachid Ramadan
Rachid Ramadan el 18 de Dic. de 2018
I have the same problem.
Did you solve it?

Iniciar sesión para comentar.

Respuestas (2)

Nguyen Hua Quang Huy
Nguyen Hua Quang Huy el 14 de En. de 2016

0 votos

You have to move the downloaded to the MATLAB folder in Document! But then, literally the code smlink_linksw or smlink_linkinv does not work in mac os though. Cheers!
Walter Roberson
Walter Roberson el 14 de En. de 2016

0 votos

3 comentarios

Deepak Bharadwaj
Deepak Bharadwaj el 25 de Oct. de 2021
Installation of smlink complete. But when enabling the command smlink_linksw,it is saying that this is for windows.
Allen Bailey
Allen Bailey el 24 de Oct. de 2022
Was this problem resolved. since 2021...
I get the error:
Error using smlink_linksw
This add-in is available for Windows only
Walter Roberson
Walter Roberson el 24 de Oct. de 2022

Iniciar sesión para comentar.

Categorías

Productos

Preguntada:

el 11 de Abr. de 2014

Comentada:

el 24 de Oct. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by