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 件のコメント

Matt Kindig
Matt Kindig 2013 年 7 月 8 日
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