Script to create instance of bus signal and write it to the data dictionary

I would like write a script that does the following:
  1. Create an instance of a bus signal included in a data dictionary
  2. Set the values of the members of the bus signal to 0.
  3. Write this instance to the data dictionary.
Can it be done? If so, how to do it?
Thanks!

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Asked:

on 20 Dec 2019

Answered:

on 31 Mar 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!