Products & Services Solutions Academia Support User Community Company

Learn more about SimEvents   

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.

Outputs

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

  


Related Products & Applications

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