There are a couple of Matlab-scripts for convenience. Scripts not listed here are for testing only.
Here is a list:
-artificial_data -eegset_to_raw -get_epoch_indices -raw_to_eegset -write_art_data_raw