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

조회 수: 11 (최근 30일)
Adam Vilanova-Goldstein
Adam Vilanova-Goldstein 2020년 6월 12일
편집: Adam Vilanova-Goldstein 2020년 6월 12일
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
Walter Roberson
Walter Roberson 2020년 6월 12일
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 2020년 6월 12일
Ok. I got it. Apparently it is a code that is built into EEGLab called eeglabhist. Thank you for all the help!

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2020년 6월 12일
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
Adam Vilanova-Goldstein
Adam Vilanova-Goldstein 2020년 6월 12일
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 2020년 6월 12일
Ok. I got it. Apparently it is a code that is built into EEGLab called eeglabhist. Thank you for all the help!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Installation and Operational Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by