This shows you the differences between two versions of the page.

Link to this comparison view

reference:ft_preamble [2018/08/23 14:43] (current)
Line 1: Line 1:
 +=====  FT_PREAMBLE =====
 +Note that this reference documentation is identical to the help that is displayed in MATLAB when you type "help ft_preamble"​.
 +  <a href=/​reference/​ft_preamble><​font color=green>​FT_PREAMBLE</​font></​a>​ is a helper function that is included in many of the FieldTrip
 +  functions and which takes care of some general settings and operations at the
 +  begin of the function.
 +  This ft_preamble m-file is a function, but internally it executes a
 +  number of private scripts in the callers workspace. This allows the
 +  private script to access the variables in the callers workspace and
 +  behave as if the script were included as a header file in C-code.
 +  See also <a href=/​reference/​ft_postamble><​font color=green>​FT_POSTAMBLE</​font></​a>​