Disable Arduino detected message

1 view (last 30 days)
John Barrett
John Barrett on 23 Jul 2018
Answered: Dominic on 23 Jan 2019
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.

Answers (1)

Dominic
Dominic on 23 Jan 2019
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.

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Tags

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!