Support MES Model & Refactor® (MoRe)

What is MoRe?

MES Model & Refactor® (MoRe) is a productivity tool that makes modeling with MATLAB Simulink® faster, easier and less error-prone. MoRe supports users by simplifying and accelerating model editing and reducing monotonous work steps. The tool facilitates the modeling process as a whole, in particular the refactoring of models.

 

What's New?

Highlights in latest versions of MES Model & Refactor® (MoRe) v.2.13

  • The new action "Rename Signal and Ports Forward" will automatically update the signal's line label and all port names throughout hierarchies from source to destination. You can also unify the modeling style for all blocks and lines on the signal path.
  • Updating MoRe to a newer version is easier now as you can import preferences and license settings from a previous installation.
  • MoRe’s MATLAB API allows you to use two more actions ("Arrange Ports Blocks" and "Move Blocks Down") via the MATLAB command line or script.

 

 

MoRe v.2.12

Highlights in MES Model & Refactor® (MoRe) v.2.12

Improvements
Preferences: You can now use "Reset Preferences to Default" from the "Preferences" submenu to reset any of the configuration files (MoRe config file, keyboard shortcuts file, and hook for block parameters) to factory defaults.

MoRe v.2.11

Highlights in MES Model & Refactor® (MoRe) v.2.11

Improvements
API extension: With the new mes.more.api.arrangePortBlocks function, you can use the "Arrange Port Blocks" action in your own MATLAB® scripts.

MoRe v.2.10

Highlights in MES Model & Refactor® (MoRe) v.2.10

Improvements
API extension: With the new mes.more.api.moveBlocksDown function, you can use the "Move Blocks Down" action in your own MATLAB® scripts.

MoRe v.2.9

Highlights in MES Model & Refactor® (MoRe) v.2.9

Improvements
Move Blocks Down: The position of the target system now remains unchanged if the action does not change the number of inports and outports. Action demo models: A new demo model for "Add Cross-Hierarchy Signal" is available so that you can try out the action and learn how to use it. The model can be opened directly from the MoRe demo model, from the documentation of the action, or from the "demo_models" folder in the installation directory.

MoRe v.2.8

Highlights in MES Model & Refactor® (MoRe) v.2.8

Improvements
Easier Tool Update: After installing a new version, MoRe automatically uses the license server address and port of the previously installed version now. Thus, installFloatingLicense_MoRe does not have to be called again.

MoRe v.2.7

Highlights in MES Model & Refactor® (MoRe) v.2.7

MoRe Demo Model
For an easy introduction to MoRe, a new MoRe demo model is available for you to try out different actions and learn how to use them.

MoRe v.2.6

Highlights in MES Model & Refactor® (MoRe) v.2.6

Custom Keyboard Shortcuts
You can now define custom keyboard shortcuts for your favorite actions to make modeling and refactoring even faster and easier. You can access the shortcuts configuration file directly from the MoRe menu under the category 'Preferences'.

Other Improvements
All actions that add or redraw lines: For MATLAB® versions prior to R2017b, line routing has been improved when a line leads to multiple inports of the same block.

MoRe v.2.5

Highlights in MES Model & Refactor® (MoRe) v.2.5

Match Block Size to Icon Text: Now you can also use this action to resize "Compare To Constant" and "Compare To Zero" blocks.

Action demo models: New demo models for "Match Block Size to Icon Text" and "Move Blocks Down" are available so that you can try out the actions and learn how to use them. The models can be opened directly from the documentation of the corresponding actions or from the "demo_models" folder in the installation directory.

MoRe v.2.4

Highlights in MES Model & Refactor® (MoRe) v.2.4

Action demo models: A new demo model for "Straighten Lines from Block" is available so that you can try out the action and learn how to use it. The model can be opened directly from the documentation of the action or from the new "demo_models" folder in the installation directory.

MoRe v.2.3

Highlights in MES Model & Refactor® (MoRe) v.2.3

New Action "Split Bus Selector by Destination Blocks"
This new action allows you to split a bus selector so that each of the destination blocks has its own bus selector.

MoRe split bus selectors

 

The action is particularly useful as a first step when you want to move a bus selector into a subsystem using "Move Blocks Down" but the bus selector has multiple destination blocks. This is also possible with the "Split Bus Selector Below" action but requires manual, time-consuming steps like sorting the output signals according to the destination blocks, and multi-selecting and reconnecting the branching signals. These steps are fully automated in the new action.

MoRe split bus selectors

 

The action also helps you to reduce crossing output signal lines or to shorten the output signal lines of a bus selector.

MoRe split bus selectors
MoRe v.2.2

Highlights in MES Model & Refactor® (MoRe) v.2.2

A new action automatically matches the block size to the icon text, which helps to improve readability in the model.

 

Further improvements fine-tune the behavior of the removing cross-hierarchy signals backwards action.

MoRe v.2.1

Highlights in MES Model & Refactor® (MoRe) v.2.1

User experience is improved by user dialogue enhancements.

MoRe now supports MATLAB 2020a and 2020b releases.

MoRe v.2.0

Highlights in MES Model & Refactor® (MoRe) v.2.0

New design of menu speeds up modeling. The new menu allows one-click access to frequently used actions. All available actions are categorized in submenus, sorted in descending order of estimated frequency of use.

New Menu in MES Model & Refactor 2.0

 

Easily add new high-level input signals to the current subsystem. You can add new input signals from higher levels without leaving the subsystem you are working on in the editor.

Application window in MES Model & Refactor add input signal

 

Installation

  • Extract the MES MoRe zip file (e.g. MES_MoRe_13.zip) into a target folder with write access. Suggestions:
    • C:\Program Files\MES_MoRe
    • %MATLAB_ROOT%\toolbox\MES_MoRe_2_13
    • %MATLAB_ROOT%\toolbox\MES_MoRe
    • x:\project\matlab\MES_MoRe_2_13
    Please keep all the subdirectories.

  • If you extracted the zip file to the MATLAB toolbox folder (%MATLAB_ROOT%\toolbox), then call rehash toolboxcache once in the MATLAB command line.
  • For permament installation (recommended):
    • Add a call to the MoRe\init_MoRe.m script from the target folder to your MATLAB startup.m file. Example call: run('C:\Program Files\MES_MoRe\MoRe\init_MoRe');
      Please make sure that there is no call to init_MoRe of an old installation left!
      If you are not sure whether you have any startup.m file yet, type which startup.m in MATLAB command line.
      If result is not empty, add the call from above to this file.
      If result is empty, create a new startup.m file in your userpath. Type userpath in MATLAB command line to get your userpath. Add the call from above to the newly created file (type also doc startup in MATLAB command line for help).
    • Restart MATLAB. There should be an MES MoRe menu entry in Simulink now.
  • For temporary usage (not recommended):
    • Call init_MoRe from the MoRe subfolder of the target folder in the MATLAB command line. This might throw warnings like 'Objects of XXX class exist - not clearing java', if other tools are holding locked references to java objects. In that case, please follow the instructions for permanent installation above.
  • (Optional) Some actions from the 'Analyze' submenu require Graphviz to be installed:
    • Download and install Graphviz from http://www.graphviz.org/
    • Add the folder containing the dot.exe of Graphviz to the PATH environment variable of Windows (e.g. C:\Program Files (x86)\Graphviz 2.28\bin).

Update to the Latest Version

  • If you added a call to init_MoRe to your startup.m and used a folder with version postfix (e.g. x:\project\matlab\MES_MoRe_2_12), then please update the call to the folder of the new installation (e.g. run('C:\Program Files\MES_MoRe_2_13\MoRe\init_MoRe');
  • If you installed the old version to a folder with version postfix (e.g. x:\project\matlab\MES_MoRe_2_12), you can keep that directory as a backup.
  • If you installed without version postfix, you could rename the old installation directory to one with version postfix as a backup.
  • Then proceed according to the installation instructions given below (including license configuration).

System Requirements

The following system requirements must be in place to use MES MoRe:

  • Windows (XP, Vista, Windows 7+8+10 - 32 and 64-bit versions)
  • MATLAB® R2012b ... R2021a
  • Simulink

Quick Start

Starting MoRe

  • After installation, "MES MoRe" is available as a separate entry in the Simulink menu and context menu. It does not need to be started manually.

Starting an Action in MoRe

  • Open a demo model by typing “fuelsys” in the MATLAB command prompt
  • Select the two subsystems on the root level of the fuelsys model
  • Click “MES MoRe” in the Simulink menu and then select "Merge Subsystems"
  • To undo the action, select "Undo" from the “MES MoRe” menu

Suggestions

If you have any suggestions to help us improve MES Model & Refactor, please do not hesitate to contact us:
Email: more@model-engineers.com

User Instruction

MXRAY User Guide

User Guide

The MES MoRe User Guide presents clear instructions on how to work with MES Model & Refactor® (MoRe). It provides users with information about getting started and working with MoRe.
Click on “MES MoRe”->”Help”->”Documentation” to find a description of all actions available in MoRe (see image).

MoRe Videos

 

Release Notes - MoRe v.2.13 (October 2021)

MoRe as MATLAB® Toolbox File

  • MoRe is now also available as a MATLAB toolbox. This allows you to easily install and update MoRe. You will find the toolbox file (MES_MoRe.mltbx) together with the standard distribution in the delivered zip file.
  • The installation of the toolbox is possible in all MATLAB versions from 2014b and newer.
  • It may be necessary to add the license file to the toolbox manually after installation. For instructions see README_installation_MoRe_EN.html in the zip file.