Sine modulator example - Step 2

The next step in this example is to create ports for Sine Modulator and the Sine Generator modules. Ports cannot be defined in the system model Sine Modulator System.

Add output to Sine Generator

  1. Select the Model Editor Window containing the Sine Generator module.
  2. Use the Add Output Port tool button to switch to port creation mode.
  3. Click on model background at the position where the port will be created.
  4. Click the right mouse button to switch back to normal selection mode.
  5. Select the created port. MLDesigner will show port properties in the property editor.
  6. Set the port name to Output.
  7. Select the data type float.
  8. Set the description to The sine signal output.
  9. Save the model using the tool button Save Model (Ignore construction error messages).

Add input and output to Sine Modulator

  1. Select the Model Editor Window that contains the Sine Modulator module.
  2. Use the Add Input Port tool button to switch to port creation mode.
  3. Click on model background at the position where the port will be created.
  4. Click the right mouse button to switch back to normal selection mode.
  5. Select the created port. MLDesigner will show port properties in the property editor.
  6. Set the port name to Input.
  7. Select the data type float.
  8. Set the description to The input signal.
  9. Remain in the Model Editor Window containing the Sine Modulator module.
  10. Use the Add Output Port tool button to switch to port creation mode.
  11. Click on model background at the position where the port will be created.
  12. Click the right mouse button to switch back to normal selection mode.
  13. Select the created port. MLDesigner will show port properties in the property editor.
  14. Set the port name to Output.
  15. Select the data type float.
  16. Set the description to The output signal.
  17. Save the model using the tool button Save Model (Ignore construction error messages).

The next step is to add parameters.