Hi everyone!
So I created a function on the matlab on my laptop and it worked, but I don't know what I did that it stopped working. I think I messed up in a way that I don't understand (new to matlab). I tried calling the function in the command section and also calling it out in a script. Didn't work.
Now this is where is gets weird (maybe for me atleast), when I use the online matlab, the function works perfectly. It works in the script and when I call it.
I would love any help from you guys
Sidenote: Yes I double checked the name of the file
3 Comments
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/500929-my-function-only-works-in-the-online-matlab-and-not-on-the-one-installed-on-my-laptop#comment_787514
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/500929-my-function-only-works-in-the-online-matlab-and-not-on-the-one-installed-on-my-laptop#comment_787514
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/500929-my-function-only-works-in-the-online-matlab-and-not-on-the-one-installed-on-my-laptop#comment_787555
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/500929-my-function-only-works-in-the-online-matlab-and-not-on-the-one-installed-on-my-laptop#comment_787555
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/500929-my-function-only-works-in-the-online-matlab-and-not-on-the-one-installed-on-my-laptop#comment_787561
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/500929-my-function-only-works-in-the-online-matlab-and-not-on-the-one-installed-on-my-laptop#comment_787561
Sign in to comment.