# Error: Unrecognized Method 'ArduinoPrefDirFolderName' in MATLAB Arduino Setup

**URL:** <https://forum.arduino.cc/t/error-unrecognized-method-arduinoprefdirfoldername-in-matlab-arduino-setup/1273734>\
**Category:** Engineering Kit\
**Created:** [June 20, 2024, 1:42pm UTC](https://forum.arduino.cc/t/error-unrecognized-method-arduinoprefdirfoldername-in-matlab-arduino-setup/1273734 "2024-06-20T13:42:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![voltvoyager1](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/voltvoyager1/32/1081391_2.png) [@voltvoyager1](https://forum.arduino.cc/u/voltvoyager1)\
**Post date:** [June 20, 2024, 1:42pm UTC](https://forum.arduino.cc/t/error-unrecognized-method-arduinoprefdirfoldername-in-matlab-arduino-setup/1273734/1 "2024-06-20T13:42:15Z")

</div>

Hello 👋  
I have recently purchased Enginering Kit v2  
I am encountering an error while setting up my Arduino Nano 33 IoT with MATLAB. During the Test Connection step, I receive the following error:

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/7/d/8/7d82bf91cddeddc6edff6b906397273b9f4131b2.png)

---

<div class="post-metadata">

**Author:** ![venkat\_ard](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/venkat_ard/32/977177_2.png) [@venkat\_ard](https://forum.arduino.cc/u/venkat_ard)\
**Post date:** [June 21, 2024, 2:18pm UTC](https://forum.arduino.cc/t/error-unrecognized-method-arduinoprefdirfoldername-in-matlab-arduino-setup/1273734/2 "2024-06-21T14:18:54Z")

</div>

![Screenshot 2024-06-21 141537](https://europe1.discourse-cdn.com/arduino/original/4X/6/5/3/6538b13047ff78f82d4bb49219cc09d378955d64.png)  
i am also facing same problem tried number of board uno,mega 2560 same problem unistalled and installed packages again still does not work

---

<div class="post-metadata">

**Author:** ![ptillisch](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@ptillisch](https://forum.arduino.cc/u/ptillisch)\
**Post date:** [June 21, 2024, 2:32pm UTC](https://forum.arduino.cc/t/error-unrecognized-method-arduinoprefdirfoldername-in-matlab-arduino-setup/1273734/3 "2024-06-21T14:32:53Z")

</div>

Hi @voltvoyager1 and @venkat_ard. I don't have any experience with or access to the Arduino Engineering Kit, but I did find another report of someone who encountered this "Unrecognized method, property, or field 'ArduinoPrefDirFolderName' for class 'arduino.setup.internal.TestConectionScreen'" error:

> **[Problem with Simulink support package for arduino](https://www.mathworks.com/matlabcentral/answers/2123566-problem-with-simulink-support-package-for-arduino)**
>
> All of a sudden, my installation of Matlab R2024a is not working with the Arduino support packages in simulink. I tried reinstalling MATLAB and the support packages themselves, but am getting the ...

It was suggested there that the solution is to use version 2023b of MATLAB instead of the latest version 2024a.

Give that a try and let us know if you still have the problem after that.

---

<div class="post-metadata">

**Author:** ![kingboo135](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/kingboo135/32/1084496_2.png) [@kingboo135](https://forum.arduino.cc/u/kingboo135)\
**Post date:** [July 2, 2024, 6:23pm UTC](https://forum.arduino.cc/t/error-unrecognized-method-arduinoprefdirfoldername-in-matlab-arduino-setup/1273734/4 "2024-07-02T18:23:39Z")

</div>

Experiencing the same problem. Was anybody able to solve this? Unfortunately I didn't find earlier versions for download. Any idea where these can be found?

---

<div class="post-metadata">

**Author:** ![voltvoyager1](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/voltvoyager1/32/1081391_2.png) [@voltvoyager1](https://forum.arduino.cc/u/voltvoyager1)\
**Post date:** [August 21, 2024, 6:39am UTC](https://forum.arduino.cc/t/error-unrecognized-method-arduinoprefdirfoldername-in-matlab-arduino-setup/1273734/5 "2024-08-21T06:39:15Z")

</div>

Please go to the [matlab/download](https://www.mathworks.com/downloads/)  
select R2023b and install.

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/4/3/0/430436a309780b7e6118ba2878173a9541877fa9.png)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [February 17, 2025, 6:39am UTC](https://forum.arduino.cc/t/error-unrecognized-method-arduinoprefdirfoldername-in-matlab-arduino-setup/1273734/6 "2025-02-17T06:39:45Z")

</div>

Closed on February 17, 2025, 6:39am UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
