Info

This question is closed. Reopen it to edit or answer.

How can the data from a script m file be accessed by a function?

1 view (last 30 days)
I have a .m script file which contains data that is required for the execution of a function .m file. How to access that data. Simply writing the name of the script file in the function does not work.
  1 Comment
Matt Kindig
Matt Kindig on 8 Jul 2013
In what sense does "writing the name of the script file in the function" not work? This is exactly the correct procedure for doing this.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!