Error using rng(1) ?

i have Error using rng ! can s1 give me a help plz !

2 Comments

The error message is explicit and detailed. Just do what it tells you to do.
@amani, are you specifically looking to use RNG Seed Number 1 in your work? Or are you asking for technical explanations about why it produces such an error message? Alternatively, do you want to know what "rand('state', 0)" has to do with Seed Number 1?
rng(1)
rng
ans = struct with fields:
Type: 'twister' Seed: 1 State: [625x1 uint32]

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Products

Release

R2018b

Tags

Asked:

on 27 Jun 2024

Commented:

on 27 Jun 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!