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.4.4

Enhanced Block Positioning in the "Auto Layout" action
Horizontal and vertical block positioning has been improved, reducing line bends and line crossings. Blocks are also aligned and placed closer to adjacent blocks, optimizing the overall model layout.

 

MoRe v.4.3

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

Improved Placement of Connected Blocks in "Auto Layout" Action

  • Source and sink blocks are now placed closer to their connected block, and in such a way that the signal line is as straight as possible.
  • A typical example is Const and Terminator blocks directly connected to a subsystem block.
    Auto Layout Neighbor Blocks
MoRe v.4.2

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

Improved Block Alignment in "Auto Layout" Action

  • The horizontal placement of blocks has been improved. Previously, signal labels could cause incorrect alignment.
  • As before, blocks with in- and outports are center aligned, blocks with only inports are left aligned, and blocks with only outports are right aligned. However, the center- and right alignment is no longer distorted by signal labels.
    Auto Layout Alignment
MoRe v.4.1

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

Improved "Auto Layout" Action

  • The action is now supported in MATLAB 2017b and 2018a, in addition to the previously supported MATLAB 2018b and later versions.
  • Improved handling of signal lines that are fed back directly to their source block (self-loops).
  • Blocks that are only connected to a port block are now positioned closer to the port block. This avoids unnecessarily long signal lines and makes the model appear more compact.
  • Improved line routing to prevent lines from being too close together or overlapping.

Other Improvements

  • Search Signal by Name: The action now supports the use of the "*" symbol as a wildcard within the signal name to be searched for.
MoRe v.4.0

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

New Layout Action "Auto Layout"

  • This action automatically arranges all blocks and routes all signal lines in the current subsystem, for a clean and uniform layout.
    Auto Layout
  • It is based on established algorithms for the automatic layout of block diagrams.
  • The action is available for MATLAB® versions 2018b and newer.

Bug Fixes

  • All actions: Fixed a bug that caused an error when starting an action in a Variant Subsystem.
  • All actions that change signal lines: Fixed a bug that occasionally triggered multiple warning messages in the MATLAB command window when undoing the action.
MoRe v.3.2

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

Bug Fixes

    • Arrange Port Blocks: Fixed a bug that caused the port blocks to be incorrectly placed in some rare cases. They were erroneously placed either next to unselected port blocks or far above or below the other blocks of the subsystem.
    • All actions: Fixed a bug that caused a referenced model to be reopened in an additional editor window, when starting an action within that referenced model. This only occurred if the referenced model was opened in the same editor window as its parent model, which is possible since Simulink® R2019a.

Supported MATLAB® Versions

  • MoRe now supports MATLAB versions up to 2022a.
MoRe v.3.1

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

Enhanced “Arrange Port Blocks” action
The vertical positioning of port blocks has been significantly improved in order to minimize bends and crossings of signal lines. This reduces the need for possible manual rework especially in larger subsystems with many elements.

MoRe v.3.0

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

Automatic Port Numbering during Action
Actions that affect signals and their ports now also automatically reorder and number ports in reference to optimal readability and layout. This reduces the need for manual reworking.

 

Update

To update to a new version of MoRe, please follow these steps:

1. Uninstall old version

If updating from the old toolbox version to the new toolbox version

  • Skip this step.

If updating from the old manually installed version to any new version

  1. Call path_MoRe(false) in the MATLAB command line.
  2. If you added a call to init_MoRe to your startup.m, then remove this call.
  3. Delete the directory of the old installation or keep it as a backup.

If updating from the old toolbox version to the new manual installation version

  1. Navigate to the MATLAB Home tab. In the Environment or Resources section, open the Add-On Manager.
  2. Find the old MoRe toolbox entry and select "Uninstall" in the context menu.
    Please note: MATLAB may ask you to delete some directories manually. However, this is not mandatory.

2. Install new version

  • Depending on whether you want to install the new version manually or as a toolbox, proceed as described in the following "Installation" section.
  • You can skip the "License configuration" part if a floating license is already installed in the old version.

3. Import old configuration files (optional)

After installation, you can import all configuration files of the old version via "Import Previous Preferences" from the "Preferences" submenu of MoRe. This import action requires the old version to be 2.9 or newer. This import is only necessary if you have changed any configuration files from the "Preferences" submenu in the old version.

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® R2014b ... R2022a
  • 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).

How-To Videos

Layout

Signal Routing

Partition

Interface

Bus

Analyze

 

 

Release Notes - MoRe v.4.4 (January 2023)

Improved Vertical Block Placement in "Auto Layout" Action

  • Blocks are now aligned to the highest connected destination port, if possible. This avoids signal lines splitting into more than two sublines at a single branching point, as required by the MAB guideline db_0032.d.
    Auto Layout Vertical Placement
  • This alignment also results in a data flow from top left to bottom right, which is easier to understand.
    Auto Layout Vertical Placement
  • In addition, the block placement has been improved to avoid unnecessary line bends in crossing signal lines.
    Auto Layout Vertical Placement

Bug Fixes

  • Auto Layout: Fixed a bug that caused an error when some blocks in the subsystem were rotated 90 degrees clockwise or counterclockwise.
  • Auto Layout: Fixed a bug that, after undoing the action, caused commented out blocks to be in the wrong position and connected signal lines to have wrong line points.