Skip to content

[BUG]: logFile = saveEventsFile('open', cfg, logFile); will fail #3

@mwmaclean

Description

@mwmaclean

Is there an existing issue for this?

  • I have searched the existing issues

Expected Behavior

No response

Current Behavior

Hello,
line 37 of mainScript.m: logFile = saveEventsFile('open', cfg, logFile); will fail
unless there is a logFile = saveEventsFile('init', cfg); somewhere before

Error message

`Reference to non-existent field 'filename'.

Error in createDataDictionary (line 17)
fileName = strrep(logFile(1).filename, '.tsv', '.json');

Error in saveEventsFile>openFile (line 209)
createDataDictionary(cfg, logFile);

Error in saveEventsFile (line 116)
logFile = openFile(cfg, logFile);

Error in mainScript (line 100)
logFile = saveEventsFile('open', cfg, logFile);`

Environment

- Matlab:R2019B

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions