Can we modify Simulink.Signal properties?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Vivek
el 31 de Dic. de 2015
Comentada: Vivek
el 4 de En. de 2016
Can we add/remove a property in Simulink.Signal?
Example: By default it contains below fields
'CoderInfo'
'Description'
'DataType'
'Min'
'Max'
'DocUnits'
'Dimensions'
'DimensionsMode'
'Complexity'
'SampleTime'
'SamplingMode'
'InitialValue'
'LoggingInfo'
I want to add one more field/property "IsRequiredForAutomation" and its value will be true/false
Can I do that?
0 comentarios
Respuesta aceptada
Sebastian Castro
el 31 de Dic. de 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
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!