In reply to antonio92m:
Hi Antonio,
one more thing concerning the -64 option. Please be aware that the mode options -32 and -64 are supported only by a set of programs. The mode options must be specified directly on the command line. Mode options specified in command files are ignored. This may explain, why it does work while being used inside a makefile but not inside a do-file.
Next thing is concerning matlab: as far as I know, the latest matlab releases only support 64 bit mode, the final release for 32 bit mode was 2013x. So unless you use such old matlab release, it is my current understanding that the example cannot be run in 32 bit mode anymore as the matlab software does not provide 32 bit libraries.
Thanks
Dirk