| SimEvents® | ![]() |
seedstruct = se_getseeds(sysid)
seedstruct = se_getseeds(sysid) returns the names and seed values of all SimEvents® blocks that are configured to use random number generators. The scope of the search is a system (including subsystems at any depth) or block. sysid is the system name, subsystem path name, or block path name. The output seedstruct is a structure having these fields:
system — Value of the sysid input to se_getseeds
seeds — Structure array, each element of which has these fields:
block — Path name of a block that uses a random number generator, relative to system
value — Numeric seed value of the block
See the Seed Management Workflow for Random Number Generators demo.
se_setseeds, se_randomizeseeds
Making Results Repeatable by Storing Sets of Seeds
![]() | Function Reference | se_randomizeseeds | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |