AcCoRD Tutorial Demo Instructions (Windows)

This directory includes the files used to create the results presented in the Molecular Communication tutorial at IEEE GLOBECOM 2019. The resulting output files are also included for comparison. The files were created for version 1.4.

Created 9 December 2018 by Adam Noel.

1. Place the file "accord_config_tutorial_demo.txt" in AcCoRD config directory. Place the files "accordEmptyEnvironmentDemo.m" and "accordVideoMakerWrapper_tutorial_demo.m" in the AcCoRD matlab directory.
2. Open MATLAB and change current directory to the AcCoRD matlab directory. Run "accordEmptyEnvironmentDemo.m" from command window to see the empty environment before simulation.
3. Open windows command prompt and change directory to the AcCoRD bin folder. Enter "accord_win.exe accord_config_tutorial_demo.txt 1". This will create the files "accord_tutorial_demo_SEED1.txt" and "accord_tutorial_demo_SEED1_summary.txt" in the AcCoRD results directory (default results directory is inside of bin)
4. Import the output to MATLAB by entering "accordImport('..\bin\results\accord_tutorial_demo', 1, true);" in the MATLAB command window. This will also create the .mat-file "accord_tutorial_demo_out.mat" in the AcCoRD matlab directory.
5. Plot the time-varying output by entering "accordQuickPlot('accord_tutorial_demo_out')" in the MATLAB command window.
6. Create a video by entering "accordVideoMakerWrapper_tutorial_demo.m" in the MATLAB command window. A figure will be created that shows the empty environment. Adjust the zoom/perspective as you want to see it in the video and then enter "dbcont" in the MATLAB command window. The stills for the video will be created and merged into the video file "accord_tutorial_demo_out.mp4" in the AcCoRD matlab directory.