Pages

Wednesday, February 13, 2013

Load configuration settings dynamically using Matlab Eval function

Configuration script file = config.m

% Test function to call configuration setting dynamically

function test (config)

eval (config)
....

% script to call function 'test'
test('config');

No comments:

Post a Comment