How can I start the Reuters Configuration Editor without using the DOS prompt in Datafeed Toolbox 3.3 (R2009a)?

1 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
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 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2009a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by