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 commentaire

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.

Réponses (0)

Cette question est clôturée.

Tags

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by