Skip to main content
Social Sci LibreTexts

13: Appendix 2: Troubleshooting Guide

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Computers can be maddening. No matter how much we test ERPLAB, we still get occasional bug reports. There can also be bugs in EEGLAB, in Matlab, or in your operating system. Even if there isn’t a bug, EEGLAB, ERPLAB, you might encounter a problem because you specify an incorrect setting or leave out a necessary step. And if you’re writing your own scripts, you’re likely to introduce your own bugs. I can’t tell you how much time I spent troubleshooting problems when I was writing this book!

    As I mentioned in Chapter 1, you should look at these problems as an opportunity for working on your general problem-solving skills. Indeed, I find that troubleshooting computer problems is like a microcosm of science. You generate hypotheses, you collect data to test those hypotheses, and you make sure that you can replicate both the problem and the solution.

    In this Troubleshooting Guide, I’ve provided a variety of hints and strategies for solving the most common types of problems you’re like to encounter. This includes both specific strategies for issues that often arise in Matlab, EEGLAB, and ERPLAB, along with general strategies for solving computer problems and debugging computer programs. I’ve also provided some exercises to help you learn to interpret Matlab’s error messages and to monitor the operation of a script while it’s running.

    This page titled 13: Appendix 2: Troubleshooting Guide is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Steven J Luck directly on the LibreTexts platform.

    • Was this article helpful?