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

1 回表示 (過去 30 日間)

採用された回答

MathWorks Support Team
MathWorks Support Team 2010 年 5 月 25 日
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 Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2009a

Community Treasure Hunt

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

Start Hunting!

Translated by