The two R codes are related to the feasible balance region calculations for Figures 2, 3, and 4 in the paper.
The MATLAB codes are related to the simulations of the recoverable initial quasi-static states, the results of which are shown in Figure 5 of the paper.
This data and scripts are meant to test and show that seizure onset dynamics can be modulated using anti-epileptic drugs. A zip file is included that contains all waveform data, MATLAB processing scripts, and metadata. The MATLAB scripts allow for visual review validation and objective feature analysis. The file includes various README files explaining the scripts and their relationships in greater detail.