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?
Thanks,

--
Sujay

  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.

    Cheers,
    Chris

  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

Generic

? 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

Recent Discussions

15 Jan, 2019 04:21 PM
11 Jan, 2019 05:21 PM
09 Jan, 2019 10:29 PM
04 Jan, 2019 08:57 PM
17 Dec, 2018 02:22 PM