5.0 | 3 ratings Rate this file 9 Downloads (last 30 days) File Size: 12.3 KB File ID: #37954 Version: 1.0
image thumbnail

Better line crossings in Simulink models



Improves readability of Simulink models by appending "line steps" to lines where they cross.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information

Line crossings should be minimized in Simulink models (due to MAAB/MISRA recommendations). Unfortunately, sometimes this cannot be completely achieved.
This script updates regular line crossings with a "line step" and improves a readability of the Simulink model ("3D like effect").
It uses the fact that default Simulink grid is 5 pixels - the script appends line steps of 4 pixels height, which can be easily identified and removed (undo function).
For usage see examples and m-file code.
A Matlab shortcut can be created to ease the usage.

Required Products Simulink
MATLAB release MATLAB 7.2 (R2006a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
23 Apr 2014 Behnaz

Behnaz (view profile)

Works great, very useful. Thanks.

07 Sep 2012 Martin

Martin (view profile)

Very nice!Thanks for that!

30 Aug 2012 Lukas

Lukas (view profile)

This is awesome....I have been looking for something similar for ages. Works great.

Contact us