Skip to content

[Developer Issue] stopWecSim warnings #867

@jtgrasb

Description

@jtgrasb

Note: italicized text below is include as an example and should be updated before submission. If you feel any section is not applicable to your request, please replace with 'N/A' rather than delete a section.

Project
N/A

Describe the issue
This issue is related to issue #861 (#861 (comment)). Currently, the post-processing (run('stopWecSim')) is called by the stopFcn callback of the global frames block. When there are errors in any of the files associated with post-processing, the specific line of error is not shown because the files are called by Simulink, making it hard to debug any errors.

A potential solution of this is to move the run('stopWecSim') command outside of Simulink and just put it at the end of the wecSim.m file. This seems like a simple solution, so there is likely a reason this hasn't been done yet. Are there any issues with this solution? - the tests all pass when I implement this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Libraryupdates to the WEC-Sim LibraryMATLAB/SimulinkMATLAB or Simulink related issuesSCMsource code mangagement and warnings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions