Disable Arduino detected message

2 次查看(过去 30 天)
John Barrett
John Barrett 2018-7-23
回答: Dominic 2019-1-23
Does anyone know if there's a way to stop the Arduino detected message in the Matlab command window? The one that looks like this every time you plug in an Arduino:
Arduino Uno detected.
To use this device with MATLAB, install MATLAB Support Package for Arduino Hardware.
To use this device with Simulink, install Simulink Support Package for Arduino Hardware.
I do a lot of work with Matlab and do a lot of work with Arduino, but have no intention of combining the two at any point in the near future. Hence having this message fill up my Command Window is annoying. Couldn't see anything obvious in preferences or by Googling.

回答(1 个)

Dominic
Dominic 2019-1-23
In 2018b (not sure if and how this works for other versions), this message is created by:
C:\Program Files\MATLAB\R2018b\toolbox\shared\deviceplugindetection\+internal\+deviceplugindetectino\ArduinoDevicePluginDetectionClient.m
You can just comment out the parts you don't need. Note that you need to edit the file as admin.

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Arduino Hardware 的更多信息

标签

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by