Data Store Rescope Tool

版本 2.6 (1.8 MB) 作者: McSCert
The Data Store Rescope Tool (formerly the Data Store Push-Down Tool) rescopes Simulink data stores.
308.0 次下载
更新时间 2020/7/22

Data stores in Simulink are analogous to variables in traditional programming languages. Therefore, they should be restricted in scope to avoid inadvertent/unwanted access, hide low-level details, and reduce the number of inputs for testing. The Data Store Rescope Tool (formerly known as the Data Store Push-Down Tool) identifies the data stores that have scopes larger than necessary. Then, the declaration (Data Store Memory block) of each identified data store is pushed down the model hierarchy to the lowest level possible, such that all the references to the data store memory are still within its scope. Also, if references to a data store are outside of its scope, the Data Store Rescope Tool can be used for auto-correction: the data store’s declaration is first moved to the model's top level, and then pushed-down to minimize data store's scope as previously described.

• For instructions on installation and how to use the tool, please see the included user guide: Simulink-Module/doc/DataStoreRescope_UserGuide.pdf.

• This tool relies on our Simulink Utility. Please download it here: https://github.com/McSCert/Simulink-Utility.

For more about the capabilities of the tool and how it can be used in model-based development with Simulink, see the two papers:

[1] Vera Pantelic, Steven Postma, Mark Lawford, Alexandre Korobkine, Bennett Mackenzie, Jeff Ong, Marc Bender, "A Toolset for Simulink: Improving Software Engineering Practices in Development with Simulink," In Proceedings of 3rd International Conference on Model-Driven Engineering and Software Development (MODELSWARD 2015), SCITEPRESS, 2015, 50-61. DOI: https://doi.org/10.5220/0005236100500061 (Best Paper Award)

[2] Vera Pantelic, Steven Postma, Mark Lawford, Monika Jaskolka, Bennett Mackenzie, Alexandre Korobkine, Marc Bender, Jeff Ong, Gordon Marks, Alan Wassyng, “Software engineering practices and Simulink: bridging the gap,” International Journal on Software Tools for Technology Transfer (STTT), 2017, 95–117. DOI: https://doi.org/10.1007/s10009-017-0450-9

引用格式

McSCert (2024). Data Store Rescope Tool (https://github.com/McSCert/Data-Store-Rescope/releases/tag/v2.6), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 View and Analyze Simulation Results 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
2.6

See release notes for this release on GitHub: https://github.com/McSCert/Data-Store-Rescope/releases/tag/v2.6

2.5

- Updates to the log text and where it is placed.

2.4

Fixed several bugs.

2.3.0.0

Fixed several bugs.

2.2.0.0

Fixed a big pertaining to the rescoping of Data Store Memory blocks into the top-level of the model.

2.1.0.0

– The tool now offers the option of pushing down to linked subsystems
Changed the cover image and made minor changes to the description.
Formatted description text.

2.0.0.0

– Added scope repair transformation when data store's references are outside its scope
– Now properly handles cases where multiple Data Store Memory blocks exist with the same name and overlapping scopes
- Robustness, user guide improved

1.0.1.0

Made a change to Required Products (a tool was previously listed by mistake).

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库