Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
development:guidelines:code [2018/10/21 15:10]
42.49.180.224 [The best-practice example function]
development:guidelines:code [2018/01/24 18:07] (current)
robert [Ensure that it runs on older MATLAB versions] fixed typo
Line 20: Line 20:
  
 The easiest way to get started with writing a new high-level FieldTrip function is to take a close look at [[reference:​ft_examplefunction|ft_examplefunction]],​ which is located in FT's core (root) directory. (Note: this is true as of Feb 11, 2011.) It shows the best practices that one should adhere to concerning input and output structure and data handling. Also, it demonstrates how one should document the function according to FT standard guidelines. The easiest way to get started with writing a new high-level FieldTrip function is to take a close look at [[reference:​ft_examplefunction|ft_examplefunction]],​ which is located in FT's core (root) directory. (Note: this is true as of Feb 11, 2011.) It shows the best practices that one should adhere to concerning input and output structure and data handling. Also, it demonstrates how one should document the function according to FT standard guidelines.
 +
 ===== Provide reference documentation in the function help ===== ===== Provide reference documentation in the function help =====
  
Line 486: Line 487:
 ===== Suggested further reading ===== ===== Suggested further reading =====
  
-Please also consider the [[development:​guidelines:​documentation|documentation guidelines]] when making contributions to the FieldTrip project.+Please also consider the [[development:​guidelines:​documentation|documentation guidelines]] when making contributions to the FieldTrip project. ​