Stateflow Alignment Tool

Stateflowalign is a simple GUI to align and modify graphical stateflow objects.

Vous suivez désormais cette soumission

stateflow align implements three basic functions to align and modify graphical stateflow objects:

1. Align
All selected objects are aligned to the last object in the selection. Therefore at least two objects mustbe selected. Alignment is done to specific alignment lines. These are left, rigth, top, bottom,horizontal centre and vertical centre for rectangular graphical objects and the centre of junctions.

2. Copy Size
The size of the last selected objectis copied to all other selected objects. This function works only on rectangular objects.

3. Distance
Bring the selected objects to a specified distance relating to their bounds in x or y direction. In the auto mode the direction of the higher misalignment is used. In non cascaded submode the last selected object is the reference. In cascaded submode the n-th object is the reference of the (n-1)th object. The process starts with the last selected element as first reference.

REMARKS:
1. To select multiple objects hold down the shift key while mouse clicking the objets.

2. Transitions should not be selected since they loose their connection.

3. There is NO UNDO possibility because the stateflow API is unsed. Save the file before using this tool!!

4. You have to download gcsfo (get current stateflow object) - another stateflow utility.

Citation pour cette source

Sven Probst (2026). Stateflow Alignment Tool (https://fr.mathworks.com/matlabcentral/fileexchange/6685-stateflow-alignment-tool), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Stateflow dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

Remark 4 added