MATLAB Answers

Can we modify Simulink.Signal properties?

1 view (last 30 days)
Vivek on 31 Dec 2015
Commented: Vivek on 4 Jan 2016
Can we add/remove a property in Simulink.Signal?
Example: By default it contains below fields
I want to add one more field/property "IsRequiredForAutomation" and its value will be true/false
Can I do that?


Sign in to comment.

Accepted Answer

Sebastian Castro
Sebastian Castro on 31 Dec 2015
You can create your own class that inherits from Simulink.Signal and adds any additional properties/methods you might need.
The following documentation example shows how you can do this.
- Sebastian

  1 Comment

Sign in to comment.

More Answers (0)

Sign in to answer this question.