Arduino.m file not working with Simulink

1 次查看(过去 30 天)
I tried using a Matlab function block in simulink. In the Matlab function I make other function calls that use the Arduino.m file, downloaded from the support page ( http://www.mathworks.com/matlabcentral/fileexchange/32374). I get a bunch of errors related to the arduino.m file such as the destructor not being used for code generation and try-catch statements can't be used for code generation and so on. My code works fine when it's a standalone m-script (not encapulated in a simulink block). Does anyone know if there's a compatible arduino m file that works with simulink? Thank you.

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2012-9-26
编辑:Kaustubha Govind 2012-9-26

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by