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

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

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.

답변 (0개)

이 질문은 마감되었습니다.

태그

질문:

2013년 7월 8일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by