strsplit causing issues with several functions
Show older comments
I am working on Matlab 2020b and am hoping to use the ros2node function to communicate with a wireless node. But when trying to use this function i get an error because of strsplit
Caused by:
Error using strsplit
Too many input arguments.
A similar error shows up when i try to open the Add-on Explorer and the explorer doesn't open .
I had previous had this error opening the Add-on explorer once before and following instructions of reseting matlab preferences ( using intrcutions provided here https://www.mathworks.com/matlabcentral/answers/99625-how-do-i-regenerate-my-matlab-preferences) solved the problem. These same steps do not work now.
Please help!
Accepted Answer
More Answers (1)
Let's make sure you haven't created or downloaded a strsplit.m file that's taking precedence over the strsplit function included in MATLAB. What does this display for you?
which -all strsplit
If it displays something outside of toolbox/matlab/strfun that could be the cause of the problem.
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!