This question is closed. Reopen it to edit or answer.
Summarize programmatically Logical Equation depending on Simulink Model
1 view (last 30 days)
Hello everyone !
I have a model with a subsystem which describe a Logical Equation like this inside :
I'm looking for a way to summarize programmatically this model equation in a string and put it in the subsystem 'Description' . For example, if i take the model linked above i'm searching a way to program a script which summarize the model in a string "(A&B)+C+(D&E)" and put this string in the subsystem description. And for example if the user add a new constant to the model or delete one and run the script again it modify the subsystem description with the good equation.
Thanks for helping in advance