Last active
December 5, 2015 16:36
-
-
Save summivox/05f48a9bd8b53f03cdd3 to your computer and use it in GitHub Desktop.
Simulink: reload model workspace init script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function reload_workspace | |
| % Call this function in `Init`, `PostLoadFcn`, and/or `PreSaveFcn` model | |
| % callbacks to ensure that model workspace init script is auto-reloaded. | |
| ws = get_param(bdroot, 'ModelWorkspace'); | |
| ws.reload; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment