Disable Arduino detected message

8 visualizzazioni (ultimi 30 giorni)
John Barrett
John Barrett il 23 Lug 2018
Risposto: Dominic il 23 Gen 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.

Risposte (1)

Dominic
Dominic il 23 Gen 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.

Tag

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by