Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started