Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add a function to Matlab path

I am trying to add the strsplit function to my MATLAB path, but I don't know how to do it.

Link : strsplit function

I am trying to use the function for my work, but somehow that function does not exist in my version of MATLAB that i currently have.

like image 343
Jeiman Avatar asked Sep 18 '26 23:09

Jeiman


2 Answers

strsplit is not a matlab function, in the sense that it does not come with MATLAB, your link is to the mathworks file exchange which is a community of MATLAB users.

You can use the dialog box in the "File"->"Set Path" menu to add the file to your path.
This is assuming you have actually the file and for some reason it is not on your path.

like image 125
Ali Avatar answered Sep 21 '26 23:09

Ali


From the information you provide and from Matlab's documentation strsplit is not an intrinsic Matlab function. So the question for you is Where have you installed the source of the strsplit function ? When you've answered that for yourself use the File | Set Path menu.

like image 21
High Performance Mark Avatar answered Sep 21 '26 21:09

High Performance Mark



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!