I wish to use the "Arduino Support for Simulink" to write code in Simulink and use it on an Arduino. But, I need to be able to incorporate interrupts in order to read the output from a quadrature encoder. Does Simulink support this? If not is there a way to access the sketch file before it is complied to add some more functionality that Simulink is lacking?
There is currently no support for working with Arduino interrupts from within Simulink. If you have Embedded Coder, you can access the generated code (the sketch) before it is compiled. Otherwise (if you just have Simulink) there is no way to access the generated code.
Hi,Gautam Vallabha : I want to create a interrupt block of Arduino. Can you give an example to me about what you wrote " If you have Embedded Coder, you can access the generated code (the sketch) before it is compiled. "