Skip to content

Instantly share code, notes, and snippets.

@drbenvincent
Created March 1, 2018 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drbenvincent/d1043f0395e6f44a9a5940a142cebc4c to your computer and use it in GitHub Desktop.
Save drbenvincent/d1043f0395e6f44a9a5940a142cebc4c to your computer and use it in GitHub Desktop.
% Add tooolbox code to path
addpath('~/git-local/darc-experiments-matlab')
% Run the toolbox setup code
env_setup
% Get participant information with GUI
[expt_options] = getHumanExperimentOptions();
plotting_style = 'full';
%% Set up experiment
model = Model_hyperbolic1_time('epsilon', 0.01);
expt = Experiment(model,...
'plotting', plotting_style,...
'expt_options', expt_options);
expt = expt.set_human_response_options(...
{'commodity_type', 'GBP',...
'delay_framing', 'delay'});
expt.runTrials()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment