Enumeration Manager

版本 3.3 (1.0 MB) 作者: Laurent Royer
Manage Simulink enumeration classes without writing a single line of code
112.0 次下载
更新时间 2025/8/4

查看许可证

Interactive management of all Simulink enumeration classes loaded in memory
Easily manage your Simulink enumeration types defined as MATLAB class files, created with Simulink.defineIntEnumType, or stored in a Simulink data dictionary, without writing a single line of code.
Enumeration classes can be defined in 3 ways:
  • Dynamic enumeration class in memory only, created with Simulink.defineIntEnumType.
  • Enumeration class defined by a class m-file.
  • Enumeration class stored in a Simulink data dictionary.
Note: The Source of Truth is still your project files. This tool is only an assistant to manage the enumeration classes but it doesn't hold any knowledge on the enumerations, so you can stop or restart using this tool anytime during your project life.
Available features
  • List all enumeration classes loaded in memory.
  • Create/edit/delete enumeration classes.
  • Rename enumeration classes.
  • Find all uses of an enumeration class in models, data dictionaries or m-files.
  • Export an enumeration class to a m-script using Simulink.defineIntEnumType.
  • Convert a dynamic enumeration class into a class file, or store it in a data dictionary.
  • Move enumeration classes to a Simulink data dictionary.
  • Move enumeration classes from a Simulink data dictionary to class files.
  • Create enumeration classes used to monitor chart states.
Installation
Installation from the Add-On Explorer with the Add button may fail due to IT constraints. In that case, from the File Exchange page below, download the mlappinstall installer and execute it from the MATLAB Command Window. The ENUMGR app will appear in the APPS section of your MATLAB toolstrip.
File Exchange page in MATLAB Central
Support
Please report any bugs in the File Exchange page.
Feel free to ask for clarification or request new features via the File Exchange page.
MATLAB 版本兼容性
创建方式 R2024b
与 R2020b 及更高版本兼容
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

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

* Term "built-in" replaced by "dynamic".
* "Save" button becomes an "Apply" button in case of a data dictionary entry.
* Command added in context menu to close a data dictionary.

3.2

* Check for class shadowing switched to case-sensitive.
* Bug fix: Allow to delete a newly created enumeration not yet saved.

3.1

* App extended to built-in enumerations (Simulink.defineIntEnumType) and enumerations stored in Simulink data dictionaries.
* Search for usage extended to m files.
* Conversion generalized to the 3 enumeration types.
* Support hexadecimal syntax.

2.3

* Allow to generate the enumeration classes for chart states monitoring
* Fixed hyperlinks of searched enumeration classes

2.2

* Allow to find all uses of an enumeration in models and data dictionaries
* Allow to export a subset of enumeration classes to a Simulink data dictionary
* Check that enumeration members do not conflict with a class method

2.1

* Ignoring enumeration classes from support packages
* Compatible with MATLAB Online

2.0

* Import/Export features grouped together in a menu
* Export selected enumeration classes to a single MATLAB script
* From R2023a, uint32 added to allowed storage classes

1.9