Question: I'm trying to open file that I've created to write down some answers and it's telling me File identifier must be an integer-valued scalar of

I'm trying to open file that I've created to write down some answers and it's telling me File identifier must be an integer-valued scalar of type double. I don't know what to do because I opened the file in another function.

global text file output_name file = fopen(output_name) ; Mean = mean(text) Stdev = std(text) z = str2double(get(handles.zvalue,'String')) Probability_Z = normcdf(z) set(handles.resultz,'String',Probability_Z); fprintf(file,'The probability for a z value of %4.2f is %4.2f ',z,Probability_Z);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!