finding out mwel filename

Sujaya Neupane's Avatar

Sujaya Neupane

11 Jan, 2019 04:58 PM

Hi Chris,

Is there a way to retrieve the name of the .mwel file that was run from its corresponding .mwk file?


  1. Support Staff 1 Posted by Christopher Sta... on 11 Jan, 2019 05:21 PM

    Christopher Stawarz's Avatar

    Hi Sujay,

    As we discussed offline, the name and contents of all MWEL files used in an experiment are recorded in the data file via the variable #loadedExperiment.

    I've attached a Python script that reads #loadedExperiment and prints the name and contents of all experiment files. It works for both XML- and MWEL-based experiments (and is an updated version of an older script I wrote for Evan Remington a while back). Of course, you can perform an equivalent operation in MATLAB, if you prefer.


  2. Christopher Stawarz closed this discussion on 15 Jan, 2019 02:46 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac