Using a defined variable between functions?

12 ビュー (過去 30 日間)
Polina Golikova
Polina Golikova 2016 年 5 月 1 日
回答済み: Walter Roberson 2016 年 5 月 1 日
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.

採用された回答

Walter Roberson
Walter Roberson 2016 年 5 月 1 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGenerated Code Interfacing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by