Write settings for dream in matlab

Share:

Description

Write matlab .mat file with settings and .m file to run dream in Matlab

Usage

1
writeMatlabDREAMSettings(dream.obj, ModelName, InitPopulation, matlab.dream.dir, in.mat.file = "in.mat", out.mat.file = "out.mat", run.m.file = "run_once.m")

Arguments

dream.obj

dream object

ModelName

name of matlab .m file and function containing model to be run

InitPopulation

Setting to generate InitPopulation in dream matlab version

matlab.dream.dir

Directory in which to write files

in.mat.file

name of .mat file to which to write dream settings

out.mat.file

name of .mat file to which to write output of dream when run (used in run.m.file.

run.m.file

Name of Matlab .m file to write which will run dream

Details

Used to create demo

Value

Creates files to allow running in Matlab dream version