linux下matlab的一个例子
题目:在Linux下的MATLAB中运行MATLAB程序并在web中显示结果
我做了一个例子主要有5个文件:
webtttt.html webtttt1.html webtttt2.html webtttttempt.html webttttrnd.m
1.webtttt1.html文件
<!-- $Revision: 1.2 $ -->
<HTML>
<HEAD>
<TITLE>Simulation of Future Stock Prices</TITLE>
</HEAD>
<frameset cols="40%, *" border=0>//将首页分为两个界面
<frame scrolling=auto
src="webtttt.html" //左面调用webtttt.html
name="leftframe"
marginwidth=10
marginheight=1
frameborder=0>
<frame scrolling=auto
src="webtttttemp.html" //右面调用webtttttempt.html
marginwidth=0 marginheight=0
name="outputwindow" frameborder=0>
</frameset>
</body>
</HTML>
2.webtttt.html //左边的一部分
<!-- $Revision: 1.2 $ -->
<html>
<head>
<title>test</title>
</head>
<body bgcolor="#FFFFFF">
<div align="center"><font color="#000000" size="4" face="Arial">
<i>choose or input signal</i></font></div>
<form action="/cgi-bin/matweb" method="POST" target="outputwindow">
<input type="hidden" name="mlmfile" value="webttttrnd">
<table border="2">
<tr>
<td wi
相关文档:
以下举例中:蓝色字体为命令输入,红色字体为终端输出。
1.1 查看文件和目录(ls)
ls命令是linux最常用的命令,用来显示文件或者目录的相关信息。一般会搭配以下参数常用:
-a:显示全部文件,与隐藏文件(开头为.的文件)一起列出来。
-l:列出长数据串,包括文件属性。
-t:按时间排序。
-h: ......
MySQL :: Linux 下自动备份数据库的 shell 脚本
Linux 服务器上的程序每天都在更新 MySQL 数据库,于是就想起写一个 shell 脚本,结合 crontab,定时备份数据库。其实非常简单,主要就是使用 MySQL 自带的 mysqldump 命令。
脚本内容如下:
#!/bin/sh
# File: /home/mysql/backup.sh
# Database info
......
Linux进程间通信的方法
1、管道(pipe)
2、有名管道(named pipe)
3、信号量
4、消息队列
5、信号
6、共享内存
7、套接字
-------------------------------------------------------------------------------
linux进程间通信
1. 管道。
匿名一次性使用的,半双工。一个进程往输出端写管道,另一个进程从 ......