Source: Baidu Wenku % Original code has been modified dirMain = 'D:\test\'; fid = fopen([dirMain, 'test.txt'], 'wt'); % Create txt if the txt not exist matrix = round(rand(4, 5) * 100); [m, n] = size(matrix); for i = 1 : m for j = 1 : n if j == n fpr
set verify off; set colsep ‘分隔符’; set echo off; set feedback off; set heading off; set pagesize 0; set linesize 10000; set numwidth 26; set termout off; set trimout on; set trimspool on; spool ‘/etl/a.txt’ select trim(字段)||’分割符’|| trim(字段)||’分割符’|| t
窗体界面部分如下: 鼠标的缩放功能需要手动在 OpertaionImg.Designer.cs 文件里面添加一句代码,具体代码如下: //picturePhoto显示图片的控件 this.picturePhoto.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.picturePhoto_MouseWheel); 下面是窗体的后台代码: public partial class OpertaionImg : Form {