| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → SimEvents |
| Contents | Index |
| Learn more about SimEvents |
se_setseeds(seedstruct)
se_setseeds(seedstruct, sysid)
oldseedstruct = se_setseeds(seedstruct...)
[oldseedstruct, status]
= se_setseeds(seedstruct...)
se_setseeds(seedstruct) sets the seed parameter values for all SimEvents blocks specified in seedstruct.
se_setseeds(seedstruct, sysid) applies the seed values to the system sysid, overriding the system specified in the system field of seedstruct.
oldseedstruct = se_setseeds(seedstruct...) stores the original seed values in oldseedstruct before setting them to the values specified in seedstruct.
[oldseedstruct, status] = se_setseeds(seedstruct...) returns status information indicating when the function does not set a seed.
seedstruct |
Structure having the same fields as the output of the se_getseeds function:
|
sysid |
System name or subsystem path name. |
oldseedstruct |
Structure representing original seed values. The form of oldseedstruct is the same as that of seedstruct. |
status |
Logical array whose nth entry is false if the nth block in seedstruct meets one of these conditions:
|
se_getseeds | se_randomizeseeds
![]() | se_randomizeseeds | sedb.bdelete | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |