The ObsMat interface is a set of MATLAB classes that serve as proxies for their .NET counterparts. They translate MATLAB commands and objects to a format that can be accepted by Observatory, and they translate .NET objects output by Observatory in a format that is natural to digest in MATLAB code. It is highly recommended that you interact with Observatory using the ObsMat interface.
To get started, you need to make MATLAB aware of your Observatory installation. To do this, add the following to your startup.m file, or run these lines whenever you start up MATLAB.
Note: if you don’t have a startup.m file, you can create one. See the Mathworks website for more details.
Note: if you run the Windows Installer, you can choose to update your startup.m file automatically.
% In a MATLAB prompt or in your startup.m file %
>> addpath(‘C:\Observatory\Matlab’);
>> ObsStartup('C:\Observatory');
Restart MATLAB and you should see a message printed out indicating the Observatory root path you just configured.