⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 players.m

📁 用于网络服务的matlab源程序
💻 M
字号:
function str = players(h, outfile)
%PLAYERS sample display of softball statistics file.
%   STR = PLAYERS(H, OUTFILE) opens text file players.txt
%   and puts the contents into HTML output string STR and
%   into file OUTFILE.
%   STR = PLAYERS(H) performs the same functions but does not
%   put the output into OUTFILE.
%

%   Author(s): M. Greenstein, 04-01-98
%   Copyright 1998-2001 The MathWorks, Inc.
%   $Revision: 1.6 $   $Date: 2001/04/25 18:49:26 $

% Set working directory.
cd(h.mldir);

% Put data into MATLAB structure x.
x.date = date;
x.players = wstextread('players.txt');

% Put the data into the HTML document for output.
templatefile = which('players.html');
if (exist('outfile', 'var') == 1)
   str = htmlrep(x, templatefile, outfile);
else
   str = htmlrep(x, templatefile);
end



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -