Failing to validate the server (Matlab support package Arduino hardware)

5 ビュー (過去 30 日間)
Somnath
Somnath 2025 年 6 月 2 日
回答済み: Hitesh 2025 年 6 月 12 日
I have installed the supprt package for Arduino hardware but not able to proceed with the Program. It is showing an error message saying "failed to validate the server. reprogram the board to proceed". I am using an Arduino Due board and the programming USB-C port (COM9 ). Tried to manually erase and reset the memory of the Arduino board. If anybody has experienced similar issue and found a solution then please share.

回答 (1 件)

Hitesh
Hitesh 2025 年 6 月 12 日
Hi Somnath,
I too encountered the similar issue in MATLAB R2024a, was due to the unique keyboard localization that uses ASCII character 160 for the "space" character instead of character 32. Replace the "Utility.m" file which is present in this path with the attached Utility_NEW.m. Rename it Utility.m so that it point it to the new Utility.m.
utilityFilePath = fullfile(matlabshared.supportpkg.getSupportPackageRoot, 'toolbox','matlab','hardware','supportpackages','sharedarduino','+arduinoio','+internal','Utility.m');

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by