12-12-2012 05:10 AM
I am looking for the possibility of export the C code generated in matlab to a compact rio in order to fast prototyping and simulate in HIL. I know how to compilate a c code for vxworks and then export to the rio by FTP but until the moment i have several troubles with the c code generated by matlab Has anyone explored this possibility before me?? I am very interested and need some kind of help. Thanks
12-12-2012 05:49 AM - edited 12-12-2012 06:05 AM
I'm not familair with Matlab but I would expect the generated C code to make use of a number of Matlab runtime functions, that are most likely not provided with source code. Instead you likely have to have a valid Matlab runtime binary installation on the target platform. And it seems unlikely that Matlab would port its runtime library to run on the cRIO targets, partly because NI and Mathworks never were close friends and partly because it could be a maintenance burdon to support the different cRIO targets.
I would expect this to possibly be a solution for your problem, but it seems to be an addon that you have to buy.
03-13-2013 03:17 AM
Can i use for this purpose the SIT tool? I have noticed that all ready exists a tool that helps you in order to execute the models in simulink into the compact rio. Is this true?
In last instance, i would like to execute several neural networks from simulink in the compact rio. Is this the best way to do???
Thanks