Importing EEGlab dataset by a script

Thanks for your help!!!
I have realised different actions.
However, it is still confusing to me that all my eeglab data have been separated into 2-s epochs (around 150) with no consistent epoch name. May I ask wether it is possible to automatically import all epochs in codes?