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

1 vue (au cours des 30 derniers jours)

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 25 Mai 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.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2009a

Community Treasure Hunt

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

Start Hunting!

Translated by