Using a defined variable between functions?

12 visualizaciones (últimos 30 días)
Polina Golikova
Polina Golikova el 1 de Mayo de 2016
Respondida: Walter Roberson el 1 de Mayo de 2016
I am trying to do data analysis on a file. I have an input for file name in my first function as an assigned variable fileName. I have a second function, where I'm trying to use fileName (without loading it again) to do further analysis. I tried naming the variable as Persistent; but it still didn't work. Any help on this code is appreciated.

Respuesta aceptada

Walter Roberson
Walter Roberson el 1 de Mayo de 2016

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by