Programming Due with Matlab/Simulink
i have started using due , sad find there no matlab support board.
however matlab code generation generate c/c++ programs simulink models. did code generation , have .c file , .h file.
the next step test generated code programming due.
my question if have .c , .h file how program due 2 ? can use arduinosdk that?? if not there way program cortex m3 without using arduinosdk ?
thanks
however matlab code generation generate c/c++ programs simulink models. did code generation , have .c file , .h file.
the next step test generated code programming due.
my question if have .c , .h file how program due 2 ? can use arduinosdk that?? if not there way program cortex m3 without using arduinosdk ?
thanks
as far know, matlab/simulink doesnt generate code directly due. arduino has lot of hidden initialization code don't see in arduino ide, missing in autogenerated code. generated .c file contain main() function conflict existing arduino main() function.
regardless of whether use arduino ide, atmel studio or other ide have manually edit generated code, maybe library can included preprocessor (i.e., #include "library.h"). personally, cut , paste parts generated code mine, complicated math array/matrix operations don't want type hand.
regardless of whether use arduino ide, atmel studio or other ide have manually edit generated code, maybe library can included preprocessor (i.e., #include "library.h"). personally, cut , paste parts generated code mine, complicated math array/matrix operations don't want type hand.
Arduino Forum > Products > Arduino Due (Moderator: fabioc84) > Programming Due with Matlab/Simulink
arduino
Comments
Post a Comment