I have a function which calls a script. There are some variables in script. I want to save them to my command window. How can i do that. Any help fellas.
I am not exactly sure what is it you are trying to do, but I assume you want to save a file where the variable names are the ticker symbols for stock (You will get error if there are invalid characters in the symbol);
You can do something like this.
stockdata = struct();
for i = 1:size(FTSETickers,1)
%symbol = .......; % assign a char value for symbol
data = getMarketData(...); %returns a 'table' type
Best Answer