Raspberry Pi support package Install issue after selecting volume

3 次查看(过去 30 天)
Hi Guys,
This is on OS X 10.11.6
When installing the Raspberry PI support package, after selecting the volume and clicking next I get this error:
"The 'STRING' input must be either a char row vector, a cell array of char row vectors, or a string array."
I cannot get any further than this.
Has anyone got any ideas of how to sort this out.
Many thanks
Andy

回答(1 个)

Sanchari
Sanchari 2024-7-27
Hello Andrew,
The error message provided here indicates that there might be an issue with the input data being passed to a function or script in the installation process. This could be due to a bug, an incompatibility, or an issue with the MATLAB environment.
Here are few basic steps to troubleshoot and resolve:
  1. Update MATLAB: Consider updating MATLAB to the latest version of R2024a. Sometimes, bugs are fixed in updates or patches.
  2. Update Java environment: macOS 10.11.6 (El Capitan) can sometimes have compatibility issues with certain Java versions. Ensure that the correct Java version is installed. One can download and install the latest Java Development Kit (JDK) from the Oracle website. Then set the correct Java version in MATLAB by navigating to Preferences > General > Java Heap Memory. Ensure that MATLAB is pointing to the correct Java version.
  3. Clear MATLAB Cache: Run the command "rehash toolboxcache" in the MATLAB command window to do this.
  4. Reinstall the support package: Try reinstalling the support package from Add-Ons. Uninstall if it is already installed and then click "Install" to reinstall the package.
  5. Use the command line: Sometimes, installing support packages via the command line can bypass issues in the graphical installer. For this, run the following command in the MATLAB command window.
matlab.addons.install('Raspberry Pi Support Package')
Also consider going through the following links for further knowledge on:
  1. Uninstall/ reinstall Raspberry pi support package problem: https://in.mathworks.com/matlabcentral/answers/412894-uninstall-reinstall-raspberry-pi-support-package-problem?s_tid=answers_rc1-1_p1_Topic.
  2. Raspberry pi hardware support package: https://in.mathworks.com/matlabcentral/answers/324340-raspberry-pi-hardware-support-package?s_tid=answers_rc1-2_p2_MLT.
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by