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

2 views (last 30 days)
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.

Answers (1)

Hitesh
Hitesh on 12 Jun 2025
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');

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!