For some reason I need to use workspace variables within a function. How can I "import" these variables into my function? Thanks
-
3Share your code. Are you asking how to pass values as arguments to a function?Paolo– Paolo2018-06-05 17:45:03 +00:00Commented Jun 5, 2018 at 17:45
-
1Please read "Function Basics" in the MATLAB documentation.Cris Luengo– Cris Luengo2018-06-05 21:06:47 +00:00Commented Jun 5, 2018 at 21:06
Add a comment
|