-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmatlab_window_demo.xml
24 lines (24 loc) · 1.34 KB
/
matlab_window_demo.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" standalone="no"?>
<monkeyml version="1.0">
<io_devices tag="IO Devices"></io_devices>
<variables tag="Variables">
<variable tag="rand_var" scope="global" logging="when_changed" default_value="0" type="integer"></variable>
<variable tag="sync" scope="global" logging="when_changed" default_value="0" type="integer">
<action type="report" tag="Announce sync" message="sync = $sync"></action>
</variable>
</variables>
<sounds tag="Sounds"></sounds>
<stimuli tag="Stimuli"></stimuli>
<filters tag="Filters"></filters>
<optimizers tag="Optimizers"></optimizers>
<experiment tag="New Experiment" full_name="" description="">
<protocol tag="New Protocol" nsamples="1" sampling_method="cycles" selection="sequential">
<action type="assignment" tag="Sync on" variable="sync" value="1"></action>
<block tag="New Block" nsamples="10" sampling_method="cycles" selection="sequential">
<action type="assignment" tag="Update rand_var" variable="rand_var" value="disc_rand(1, 10)"></action>
<action type="report" tag="Announce rand_var" message="rand_var = $rand_var"></action>
</block>
<action type="assignment" tag="Sync off" variable="sync" value="0"></action>
</protocol>
</experiment>
</monkeyml>