The following demonstrates how to use MatLab scripting to download random data from a SwiftRNG device when used with 64 bit Entropy Server for Windows. The following code will only work when running SwiftRNG Entropy Server. A thread-safe and process-safe 64 bit SwiftRNG.dll is included in the software kit.
A sample script fragment for retrieving one random byte from SwiftRNG device when using Entropy Server for Windows and provided SwiftRNG.dll
loadlibrary ('.\windows-x64-vs-2019\SwiftRNG.dll', '.\windows-x64-vs-2019\SwiftRNG.h','alias','lib')
b = calllib('lib','swftGetByteFromEntropyServerSynchronized')