-
Notifications
You must be signed in to change notification settings - Fork 184
Description
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.