Execute same .m multiples times in parallel
Ältere Kommentare anzeigen
I have a script that generate images based on a random float. To generate the number, i use the following:
timeVals = strsplit(sprintf('%.9f',now),'.');
rng(str2double(timeVals{2}))
One problem is that the generation of the image takes a lot of time and i need a huge dataset, so i want to execute the same script to get it faster.
- It's possible to execute the same .m multiples times in parallel?.
- It's correct how the random numbers are generated in case that the step 1 could be possible?
Thanks in advance
1 Kommentar
KSSV
am 31 Okt. 2022
Generation of the image? Where are you generating image?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Random Number Generation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!