In the command window you will see the output of the example which reports controller status.
You can call libximc functions from Matlab program this way: define the path to the libximc.dll, bindy.dll and xiwrapper.dll
dynamic link libraries and its header ximc.h and additional to libximc_thunk_pcwin64.dll and ximc.m files if you are using 64-bin
environment. Use loadlibrary Matlab function once to load libximc library, then use calllib Matlab function to call desired libximc
function. You will find a list of libximc functions and their input and output parameters in the Programming guide.