|
Hi,
I have been searching this forum for a while now and I cant seem to find the answer to my problem. So whenever I run the .m file, I make it so that it creates a diary of a .txt file. However whenever I open that .txt file it creates, it always has this extraneous warning messages that I can't seem to get rid of.
Here's what it looks like.
"%Find the angle for the viewers sitting at distances of 30, 45, 60, 75 and
%90 feet from the screen.
x=[30 45 60 75 90]
x =
30 45 60 75 90
atand((24-(x*tand(8)-6))./x)+atand((x*tand(8)-6)./x)
ans =
37.2750 28.1630 22.0930 18.0097 15.1373
uiopen('C:\Users\mhong12\Documents\MATLAB\MATLAB_win\EngrMath\Gilat\c4\g113x02\g113x02.asv',1)
uiopen('C:\Users\mhong12\Documents\MATLAB\MATLAB_win\EngrMath\Gilat\c4\g113x02\g113x02.txt',1)
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
g113x02
delete g113x02.txt; diary g113x02.txt
{Warning: File not found or permission denied}
> In <a href="matlab: opentoline('C:\Users\mhong12\Documents\MATLAB\MATLAB_win\EngrMath\Gilat\c4\g113x02\g113x02.m',1,1)">g113x02 at 1</a>"
What do you guys think is the problem? It would be great if this problem can be fixed.
Thanks in advance!
|