Documentation Center

  • Trial Software
  • Product Updates

esig

eSignal Desktop API connection

Syntax

E = esig(user)

Description

E = esig(user) creates an eSignal® Desktop API connection given the user name user. Only one eSignal connection can be open at a time.

Examples

In order to use the signal interface, you need to make the eSignal Desktop API visible to MATLAB® by using the command:

% Add NET assembly.
NET.addAssembly('D:\Work\esignal\DesktopAPI_TimeAndSales\...
   DesktopAPI_TimeAndSales\obj\Release\Interop.IESignal.dll');

    Note:   Interop.IESignal.dll does not ship with Datafeed Toolbox™. This file is created by Microsoft® Visual Studio® using an unmanaged DLL, in a managed environment. Interop.IESignal.dll is a wrapper that Microsoft Visual Studio creates.

    If you do not have Interop.IESignal.dll, contact our technical support staff.

    Use the NET.addAssembly command to access Interop.IESignal.dll in MATLAB. For example:

    NET.addAssembly('D:\Work\esignal\DesktopAPI_TimeAndSales\DesktopAPI_TimeAndSales\obj\Release\Interop.IESignal.dll');

Create an eSignal connection handle:

% Enter 'mylogin' as your user name.
E = esig('mylogin')

See Also

| | |

Was this topic helpful?