Code covered by the BSD License  

Highlights from
Automated Trading with MATLAB - 2012

image thumbnail

Automated Trading with MATLAB - 2012

by

 

31 Aug 2012 (Updated )

Files from the Automated Trading webinar showing X_Trader and QuickFIX/J integration.

Utilize .NET Objects in MATLAB

Utilize .NET Objects in MATLAB

This is a simple demonstration to highlight making use of .NET Assemblies directly in MATLAB.

Contents

Our current location

City = 'Boston, Massachusetts';

Add the .NET assembly we are going to need

NET.addAssembly('System.Speech');

Create and use a SpeechSynthesizer object

set the rate and volume properties and call the speak method

speaker = System.Speech.Synthesis.SpeechSynthesizer();
speaker.Rate = 1;
speaker.Volume = 100;
speaker.Speak(['Hello, ', City, '!']);

Contact us