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 Comments

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
"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.
Okay, thanks.
I will try to run it all on a virtual machine then.
I have the same problem.
Did you solve it?

Sign in to comment.

Answers (2)

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!

3 Comments

Installation of smlink complete. But when enabling the command smlink_linksw,it is saying that this is for windows.
Was this problem resolved. since 2021...
I get the error:
Error using smlink_linksw
This add-in is available for Windows only

Sign in to comment.

Categories

Products

Asked:

on 11 Apr 2014

Commented:

on 24 Oct 2022

Community Treasure Hunt

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

Start Hunting!