se_getseeds - Get 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 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:

Examples

See the Seed Management Workflow for Random Number Generators demo.

See Also

se_setseeds, se_randomizeseeds

Making Results Repeatable by Storing Sets of Seeds

Sharing Seeds Among Models

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS