ERROR : The class RandStream has no Constant property or Static method named 'setDefaultStream'.
古いコメントを表示
I was trying to run the code of Ant minner but i got error message " The class RandStream has no Constant property or Static method named 'setDefaultStream'." for this part :
seed = sum(100*clock);
RandStream.setDefaultStream(RandStream('mt19937ar','seed',seed));
import java.util.Random;
import java.lang.System;
gen = Random(seed);
How can i fix this please?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Random Number Generation についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!