How can I create signals from a Matlab Script ?

7 views (last 30 days)
I have created a Bus inside my Data Dicitonary, and I want to create signals (with this Bus data type) from a Matab Script and put them inside this Data Dictionary. I am already able to access it with these functions :
  • Simulink.data.dictionary.open('DD.sldd');
  • getSection(DD_obj, 'Design Data');
  • getEntry(Design_Data_obj, "MyEntry");
  • setValue(MyEntry, MyValue);
But I don't know how to create signals from a Matlab Script, can you help me ?

Accepted Answer

Danny
Danny on 12 Aug 2022

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!