How can I start the Reuters Configuration Editor without using the DOS prompt in Datafeed Toolbox 3.3 (R2009a)?
1 view (last 30 days)
Show older comments
I want to start the Reuters Configuration Editor from MATLAB.
Accepted Answer
MathWorks Support Team
on 25 May 2010
This enhancement has been incorporated in Release 2010a (R2010a). For previous product releases, read below for any possible workarounds:
You can start the Reuters Configuration Editor from MATLAB by calling the following function in MATLAB:
function reutersconfigeditor
dataFeedFolder = fullfile(matlabroot, 'toolbox', 'datafeed', 'datafeed');
javaPath = fullfile(matlabroot, 'sys', 'java', 'jre', computer('arch'), 'jre', 'bin', 'java.exe');
% Run.
system([javaPath ' -classpath "' fullfile(dataFeedFolder, 'config_editor.jar') '" com.reuters.rfa.tools.config.editor.ConfigEditor']);
Note that if MATLABROOT contains any spaces, for example, 'C:\Program Files\MATLAB\R2008b', you would need to do the following:
1. Save 'reutersconfigeditor.m' in MATLABROOT (the directory returned by the MATLAB command MATLABROOT)
2. Open 'reutersconfigeditor.m' and delete all instances of MATLABROOT.
0 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!