Changes

MATLAB Control of CW-Lite

186 bytes removed, 16:25, 9 March 2018
m
Removed irrelevant sentence
This system relies on the Mathworks Python interface, which is built in as of R2014B. See [https://www.mathworks.com/help/matlab/examples/call-python-from-matlab.html MathWorks Reference Page] for more details.
The code is currently held in a separate repository at [https://github.com/newaetech/cw-apiexample1/tree/master/matlabrepository]. You'll have to clone that repository (or use the download link inside of GITHub) to copy the files into your own local working directory.
== Python/ChipWhisperer Setup ==
To run the examples, you will need to ensure you set the MATLAB working directory to the location of the .m script files.
Since the new CW 4,0 API exposes the internals of chipwhisperer the easiest way to get access to the chipwhisperer module in MATLAB is to use this API. MATLAB seems to not find certain modules even if they are on the python path so just use pythons build in importlib, which MATLAB can find, letting python find the module for MATLAB. Run this command in MATLAB.
<syntaxhighlight lang=matlab>
>> [cw, scope, target] = cwconnect()
</syntaxhighlight>
If this FAILS, you may need to simply unplug/replug the ChipWhisperer-Lite. You may have not have closed the connection from the previous test.
== Interfacing with AES ==