Is it possible to use keyHash without the random seed per MATLAB session?
9 次查看(过去 30 天)
显示 更早的评论
We have recently discovered the keyHash function, which would simplify our code quiet a bit. However, this function has the property that results will not be reproducible over MATLAB sessions or parallel workers. For our needs we need it to be reproducible over the parallel workers. Is there potentially a way that we can use the keyHash function without the random seed per MATLAB session behavior.
0 个评论
回答(1 个)
Mike Croucher
2025-4-17
I'm afraid not, can you tell us more about your workflow?
When you look across various other languages, no one seems to guarantee reproducible hashes between sessions.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!