Good afternoon,
I am new in MatLab, so I am no familiarized yet with making functions and programs. I have designed these lines to obtain some information from my data file called 'TR007-3_1FL.txt':
fID=fopen('TR007-3_1FL.txt','r');A=0.017; Po=100;formatSpec='%f %f'; sizeSpec=[2,Inf]; datos=fscanf(fID,formatSpec,sizeSpec); close('all');vexp=datos(1,:);iexp=-1.*datos(2,:);ivexp=iexp.*vexp;jexp=iexp./A;jvexp=jexp.*vexp;Voc=interp1(iexp,vexp,0) Isc=interp1(vexp,iexp,0)
, and now I want to make it an .exe that can be executed on a PC without installing MatLab. I think I have the Compiler Toolbox, but I do not know how to make the program a function that asks me to enter different files names and 'A' and 'Po' parameters for each different file to analyze. Could you please give me any help?
Thank you so much !
Best Answer