Disable Arduino detected message

1 回表示 (過去 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 Center および File ExchangeMATLAB 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