WEBVTT

00:00:08.480 --> 00:00:10.080
<font face="HK Grotesk">Hi and welcome to this short introduction </font>

00:00:10.100 --> 00:00:12.635
<font face="HK Grotesk"> To the most important partition actions</font>

00:00:12.640 --> 00:00:14.280
<font face="HK Grotesk">Of MES Model and Refactor.</font>

00:00:15.120 --> 00:00:17.400
<font face="HK Grotesk">With these actions
you can quickly and easily</font>

00:00:17.462 --> 00:00:19.320
<font face="HK Grotesk">Improve the structure of your model.</font>

00:00:21.000 --> 00:00:22.920
<font face="HK Grotesk">First I want to show you the actions:</font>

00:00:23.030 --> 00:00:26.130
<font face="HK Grotesk">Move Blocks Down / Up.</font>

00:00:26.480 --> 00:00:29.560
<font face="HK Grotesk">These actions can be used
to move connected blocks</font>

00:00:29.750 --> 00:00:31.920
<font face="HK Grotesk">Into or out of subsystems.</font>

00:00:35.520 --> 00:00:37.720
<font face="HK Grotesk">Imagine you're working on this subsystem</font>

00:00:38.320 --> 00:00:41.230
<font face="HK Grotesk">And decide to move these
pre-processing blocks</font>

00:00:43.520 --> 00:00:47.520
<font face="HK Grotesk">Down one level, into this subsystem.</font>

00:00:48.000 --> 00:00:49.725
<font face="HK Grotesk">If you want to do this manually</font>

00:00:49.725 --> 00:00:53.545
<font face="HK Grotesk">Reconnecting the blocks
is very time consuming</font>

00:00:53.600 --> 00:00:56.879
<font face="HK Grotesk">And also error prone.</font>

00:00:57.360 --> 00:00:58.960
<font face="HK Grotesk">With MES MoRe you can simply</font>

00:00:58.965 --> 00:01:00.560
<font face="HK Grotesk"> Select the blocks you want to move</font>

00:01:01.199 --> 00:01:03.540
<font face="HK Grotesk">Then start the action Move Blocks Down</font>

00:01:03.840 --> 00:01:04.920
<font face="HK Grotesk">From the MoRe menu.</font>

00:01:10.080 --> 00:01:12.200
<font face="HK Grotesk">Choose the target
subsystem and click OK</font>

00:01:23.360 --> 00:01:25.760
<font face="HK Grotesk">As you can see here MES MoRe has moved</font>

00:01:25.765 --> 00:01:27.920
<font face="HK Grotesk">The selected blocks down one level</font>

00:01:27.920 --> 00:01:30.300
<font face="HK Grotesk">And retains all signal connections for you.</font>

00:01:32.560 --> 00:01:34.979
<font face="HK Grotesk">It also automatically names all the ports</font>

00:01:35.085 --> 00:01:36.744
<font face="HK Grotesk">According to the signal names.</font>

00:01:39.520 --> 00:01:40.860
<font face="HK Grotesk">For the reverse direction:</font>

00:01:41.320 --> 00:01:43.320
<font face="HK Grotesk">Moving blocks up from the subsystem</font>

00:01:43.840 --> 00:01:46.280
<font face="HK Grotesk">Simply select the blocks to be moved</font>

00:01:48.720 --> 00:01:51.115
<font face="HK Grotesk">And then start the Move Blocks Up action</font>

00:01:51.120 --> 00:01:52.480
<font face="HK Grotesk">From the MoRe menu.</font>

00:02:05.040 --> 00:02:06.595
<font face="HK Grotesk">As you can see, MoRe has moved</font>

00:02:06.960 --> 00:02:08.400
<font face="HK Grotesk">All selected blocks up</font>

00:02:08.680 --> 00:02:10.560
<font face="HK Grotesk">Retaining all signal connections</font>

00:02:10.959 --> 00:02:14.000
<font face="HK Grotesk">And automatically
named all affected ports.</font>

00:02:18.600 --> 00:02:20.240
<font face="HK Grotesk">In this case you could also simply</font>

00:02:20.245 --> 00:02:22.085
<font face="HK Grotesk">Correct the layout with MES MoRe</font>

00:02:22.150 --> 00:02:23.840
<font face="HK Grotesk">By selecting these blocks</font>

00:02:25.440 --> 00:02:28.840
<font face="HK Grotesk">And using the Adjust
Blocks to Destinations action</font>

00:02:29.240 --> 00:02:30.440
<font face="HK Grotesk">from the MoRe menu.</font>

00:02:38.879 --> 00:02:40.800
<font face="HK Grotesk">A second very important use case
for this action</font>

00:02:40.805 --> 00:02:43.040
<font face="HK Grotesk">Is refactoring interfaces.</font>

00:02:44.400 --> 00:02:47.440
<font face="HK Grotesk">Imagine you want to
change the interface</font>

00:02:47.605 --> 00:02:48.920
<font face="HK Grotesk">Of this subsystem</font>

00:02:49.510 --> 00:02:51.920
<font face="HK Grotesk">So that only the bus
goes into the subsystem</font>

00:02:51.980 --> 00:02:53.820
<font face="HK Grotesk">Instead of the
individual signals.</font>

00:02:56.160 --> 00:02:58.000
<font face="HK Grotesk">With MoRe you can do this easily</font>

00:02:58.005 --> 00:02:59.440
<font face="HK Grotesk"> By selecting the bus selector</font>

00:03:01.500 --> 00:03:03.760
<font face="HK Grotesk">And moving it down
into the target subsystem.</font>

00:03:12.400 --> 00:03:14.640
<font face="HK Grotesk">Now we can see
that the interface has been changed</font>

00:03:14.910 --> 00:03:17.080
<font face="HK Grotesk">So that only the bus
goes into the subsystem</font>

00:03:24.400 --> 00:03:26.000
<font face="HK Grotesk">The next action I want to show you</font>

00:03:26.000 --> 00:03:28.720
<font face="HK Grotesk">Can be used to split a subsystem into two.</font>

00:03:33.760 --> 00:03:35.719
<font face="HK Grotesk">Imagine you're working on this subsystem</font>

00:03:36.270 --> 00:03:38.200
<font face="HK Grotesk">And at some point you realize</font>

00:03:38.319 --> 00:03:40.920
<font face="HK Grotesk">There are two completely
independent parts.</font>

00:03:41.280 --> 00:03:42.559
<font face="HK Grotesk">The upper part</font>

00:03:45.599 --> 00:03:47.120
<font face="HK Grotesk">And the lower part.</font>

00:03:50.000 --> 00:03:51.559
<font face="HK Grotesk">To follow the design principle</font>

00:03:51.560 --> 00:03:53.819
<font face="HK Grotesk">Subsystems should have high cohesion</font>

00:03:54.159 --> 00:03:55.780
<font face="HK Grotesk">You want to split the subsystem</font>

00:03:56.000 --> 00:03:58.080
<font face="HK Grotesk"> Into two subsystems on the same level.</font>

00:04:00.120 --> 00:04:02.080
<font face="HK Grotesk"> To do this, simply select the blocks</font>

00:04:02.210 --> 00:04:03.431
<font face="HK Grotesk">You want to split.</font>

00:04:06.640 --> 00:04:09.340
<font face="HK Grotesk">Then you can
start the action Split Subsystem</font>

00:04:09.340 --> 00:04:10.440
<font face="HK Grotesk"> From the MoRe menu</font>

00:04:15.519 --> 00:04:18.000
<font face="HK Grotesk">And enter a name for the new subsystem.</font>

00:04:22.160 --> 00:04:23.520
<font face="HK Grotesk">When you click OK</font>

00:04:24.900 --> 00:04:27.920
<font face="HK Grotesk">MoRe creates a subsystem
next to the current subsystem</font>

00:04:28.400 --> 00:04:31.360
<font face="HK Grotesk">And moves the selected blocks
to this new one</font>

00:04:35.759 --> 00:04:38.440
<font face="HK Grotesk">While preserving all signal connections.</font>

00:04:49.440 --> 00:04:50.960
<font face="HK Grotesk">The next action can be used</font>

00:04:51.150 --> 00:04:53.240
<font face="HK Grotesk">To merge two subsystems into one.</font>

00:04:57.600 --> 00:04:59.720
<font face="HK Grotesk">Imagine you're working on this subsystem</font>

00:04:59.730 --> 00:05:02.560
<font face="HK Grotesk">And you detect that
the content of subsystem X</font>

00:05:02.960 --> 00:05:06.200
<font face="HK Grotesk">Is so closely related
to that of subsystem Y</font>

00:05:06.400 --> 00:05:09.840
<font face="HK Grotesk">That you want to merge subsystem X into Y</font>

00:05:11.280 --> 00:05:14.000
<font face="HK Grotesk">With MoRe you can simply
select the two subsystems</font>

00:05:16.000 --> 00:05:18.539
<font face="HK Grotesk">And start the Merge Subsystems action</font>

00:05:18.579 --> 00:05:19.960
<font face="HK Grotesk">From the MoRe menu.</font>

00:05:25.199 --> 00:05:27.840
<font face="HK Grotesk">Then you choose
the target subsystem of the merge.</font>

00:05:31.440 --> 00:05:36.080
<font face="HK Grotesk">When you click OK,
MoRe moves the blocks from X to Y</font>

00:05:36.400 --> 00:05:38.120
<font face="HK Grotesk">Then removes subsystem X</font>

00:05:38.420 --> 00:05:40.760
<font face="HK Grotesk"> While preserving all signal connections.</font>

00:05:51.440 --> 00:05:53.260
<font face="HK Grotesk">The selected blocks have been moved</font>

00:05:53.360 --> 00:05:56.900
<font face="HK Grotesk">From the previous subsystem
X to the current subsystem Y.</font>

00:05:59.110 --> 00:06:01.311
<font face="HK Grotesk">The next action creates a subsystem</font>

00:06:01.400 --> 00:06:02.760
<font face="HK Grotesk"> From the selected blocks.</font>

00:06:05.360 --> 00:06:08.280
<font face="HK Grotesk">The action is similar
to Simulink's built-in function</font>

00:06:08.880 --> 00:06:12.120
<font face="HK Grotesk">But is more intelligent
in naming the generated ports.</font>

00:06:22.880 --> 00:06:24.900
<font face="HK Grotesk">The action automatically names the ports</font>

00:06:24.900 --> 00:06:26.680
<font face="HK Grotesk">According to connected signals</font>

00:06:27.680 --> 00:06:30.640
<font face="HK Grotesk">But especially connected ports</font>

00:06:32.240 --> 00:06:33.600
<font face="HK Grotesk">Which saves you a lot of time</font>

00:06:33.800 --> 00:06:35.760
<font face="HK Grotesk">When working on larger subsystems.</font>

