Skip to Main Content Skip to Search
Product Documentation

se_getseeds - Seed values of random number generators in blocks

Syntax

seedstruct = se_getseeds(sysid)

Description

seedstruct = se_getseeds(sysid) returns the names and seed values of all SimEvents blocks that you previously configured to use random number generators. sysid indicates the scope of the search by specifying a system name, subsystem path name, or block path name.

Tips

Input Arguments

sysid

String that indicates the scope of the search by specifying a system name, subsystem path name, or block path name.

Output Arguments

seedstruct

Structure with these fields:

  • system — Value of the sysid input to se_getseeds

  • seeds — Structure array, of which each element 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 Also

se_randomizeseeds | se_setseeds

Tutorials

How To

  


Free Discrete Event Simulation Technical Kit

Model electronic system architectures, process flows, and logistics as queuing systems or agent-based systems.

Get free kit

Trials Available

Try the latest version of discrete-event simulation products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS