Clear Filters
Clear Filters

What is the command to display all of the code that has been run?

14 views (last 30 days)
I use the EEGLAB plugin which is a GUI to process EEG data. I want to create a script to automate the processes but I can't remember the command that displays the code for the processes that have run.
UPDATE!!!
Ok. I got it. Apparently it is a code that is built into EEGLab called eeglabhist. Thank you for all the help!
  4 Comments
Walter Roberson
Walter Roberson on 12 Jun 2020
Is this the sort of situation where you have created a figure and you want to create a "prototype" to create similar figures?
If so then in the figure window, FIle -> Generate Code
Adam Vilanova-Goldstein
Adam Vilanova-Goldstein on 12 Jun 2020
Ok. I got it. Apparently it is a code that is built into EEGLab called eeglabhist. Thank you for all the help!

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 12 Jun 2020
Put this at the start of the code you want to echo to the command window
echo on
Use echo off to turn off echoing.
  2 Comments
Adam Vilanova-Goldstein
Adam Vilanova-Goldstein on 12 Jun 2020
the problem is that I am not writing code origionally. I am using the GUI and I want to see the code that it is running.
Adam Vilanova-Goldstein
Adam Vilanova-Goldstein on 12 Jun 2020
Ok. I got it. Apparently it is a code that is built into EEGLab called eeglabhist. Thank you for all the help!

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!