(ongoing...)
From previous step 1a, assembly abl_model_step_1_vU0 has been filled with modules coming from the Source Modules :
As shown from this previous figure :
another way to do so is to use the Source Models and to synchronize the assembly's content with the Simulink model's content : this is the model synchro functionality
Synchronization consists in :
listing the existing modules in the attached Simulink model
listing the existing modules in the assembly
synchronizing between these two lists
The Simulink model which is compared to the assemby is the attached Simulink model. Then and as a start, then Simulink model has to be attached to the assembly.
To attach a Simulink model, you have to choose one model available in the Source Models by pressing the Models button :
All the currently open or loaded Simulink models are listed in the right table : in this context, there's only model_step_1.
To open it and after having selected it, the Open button becomes enabled and if pressed, opens model_step_1.
Once the wanted model is selected, the left arrow is enabled. By pressing it, the selected mode is getting attached to the assembly :
An acknowledgment message occurs :
As a result, in the field of the attached Simulink model is written model_step_1 :
the cross button permits to detach the Simulink model.
the Open Smk button opens the attached Simulink model
the Sync Smk button is now enabled to achieve the model synchro functionality
By opening this model, one can see that there are two modules in the attached Simulink model :
FB_YawRate_v003d000 which is already part of the assembly abl_model_step_1_vU0.
FB_LatAcc_v000d000 which is not in the assembly
By pressing the Sync Smk button, the rank 2 GUI of the model synchro appears :
on the left are listed the modules in the assembly
on the right are listed the module of the attached Simulink model
according to selection, pushbuttons of 'Synchronization order' zone are enabled or disabled.
We wanted first to add the module FB_LatAcc_v000d000 in the assembly abl_model_step_1_vU0
To do so, select this module, and press the Abl <- button
Module FB_LatAcc_v000d000 is now part of the assembly.
Note that if the checkbox Show = is unchecked, modules present in both assembly and Simulink model are hidden.
Then, if no modules are displayed while this checkbox is unchecked, it means that contents of both assembly and Simulink model are equal.
In this step 1b, we've seen how to copy modules to an assembly from a Simulink model.
Next step 1c deals on how to remove a module from an assembly while synchronizing with its attached Simulink model.