... | ... | @@ -3,10 +3,10 @@ |
|
|
[[_TOC_]]
|
|
|
|
|
|
# Source Code Formatting
|
|
|
The source code of Matlab & Octave is very permissive, in order to make it more unified code base and potentially easier to navigate we have chosen a style that matches EEGLABS own style.
|
|
|
The source code of Matlab & Octave is very permissive. In order to make a more unified code base and potentially easier to navigate, we have chosen a style that mirrors EEGLAB's own style.
|
|
|
|
|
|
# Compatibility
|
|
|
Any code provided to this project should be compatible with both GNU Octave and MATLAB. This can usually be facilitated by clever thinking or using runtime switches based on the execution environment.
|
|
|
Any code provided to this project should be compatible with both GNU Octave and MATLAB. This can usually be facilitated by design or using runtime switches based on the execution environment. For example:
|
|
|
```
|
|
|
if exist('OCTAVE_VERSION')
|
|
|
% Do this if Octave
|
... | ... | |