COM classes appear private from Maltlab

Hi,

I'm trying to open Solidworks from Matlab via activex. The component is initialised from Matlab with:

swApp = actxserver('SldWorks.Application')

This does invoke a session of solidworks and is visible in the task manager.

However, when I then try to set visibility on with:

swApp.Visible = true;

It throws back an error saying no visibility class exists, and it appears that all classes for SldWorks.Application are either non-existant or are not public.

Do I need to install the API package for this to work? I am running Solidworks 2010 if that helps

SolidworksApi macros