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.

helloWorldNET.m
%% Utilize .NET Objects in MATLAB
% This is a simple demonstration to highlight making use of .NET Assemblies directly
% in MATLAB.

% Copyright 2010-2012, The MathWorks, Inc.

%% Our current location
seminarCity = 'Toronto';

%% 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, ', seminarCity, '!']);

Contact us