- Open the Stateflow editor and select the subchart that contains the parameters.
- Right-click on the subchart and select "Properties" from the context menu.
- In the "Properties" dialog box, select the "Parameters" tab. This should show you a list of the parameters that have been created.
- To delete a parameter, select it from the list and click the "Remove" button.
- If you want to remove the mask symbol as well, you can select the "Mask" tab in the "Properties" dialog box and click the "Delete" button.
How to remove atmoic subchart mask or block parameters?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I deleted a couple of symbols in my stateflow atomic subchart and they somehow became parameters but I can't find their implementation anywhere. If I go to model explorer, the subchart now has a mask symbol and when I right-click to select properties, a dialog box called ''Block Parameters" shows those two parameters with ability to set values. But I cannot find anyway of reverting those changes - to delete the parameters, or mask.
How is it possible that a subchart can become a block and have a mask? And why is there no way of seeing these parameters anywehre else?
0 comentarios
Respuestas (1)
Sandeep
el 25 de Abr. de 2023
Hi Simeon Doyle,
It's possible that when you deleted the symbols in your Stateflow atomic subchart, you inadvertently created parameters. This can happen if the symbols you deleted were previously linked to parameters, or if they were used in a way that required a parameter to be created.
When this happens, the subchart can become a block with a mask symbol. This is because when a parameter is created in a subchart, a mask is automatically generated to provide a way of setting the parameter value.
To delete the parameters or mask, you can try the following steps:
If the parameters are not visible in the "Parameters" tab, it's possible that they were created at a higher level in the model hierarchy. In this case, you may need to search through the parent blocks to find the parameters.
It's also worth noting that in some cases, parameters can be created dynamically at runtime, which can make them more difficult to track down.
For more information, refer the documentation page: Atomic subchart (Stateflow)
0 comentarios
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!