[SCCN Home]

SCCN Lab Information

Computer System FAQ

How can I edit a MATLAB EEGLAB function?

EEGLAB is now under CVS (Concurrent Version System), a more advanced system than our previously used RCS (Revision Control System).

The simplest way to edit files is to use the MATLAB editor and set CVS in the preference for revision control. As with RCS, you may check out any EEGLAB file, and then check it back in and enter your comment.

One important change in CVS is that if you do not check back in your changes, they will be erased overnight. Your changes will be saved in temporary files though. Files are erased overnight because the EEGLAB files at SCCN are just a checked out version of the real EEGLAB repository (which contains all history of changes and some fragmented MATLAB code but not the actual MATLAB files). There can be as many checked out version as we want (one in France, one in India, etc...) and all of them can be edited simultaneously. If two people modify the same file, and check them back in, then there is a conflict and it has to be resolved manually using special tools that allow to compare the files side by side with color highlighting of the changes.

If you want to work on a couple of functions for several days, the best is to check out the whole tree structure of the plugin in your home folder and then check back in your changes when you are done.

There are still a couple of glitches with some plugins that are being worked on (that are not included in CVS). If you experience any problems with the CVS, please contact Arno Delorme.