亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? getsig.c

?? 模糊神經網絡采用matlab編程 o install NEFCON follow these steps: 1. Unpack the tar file NEFCON.TAR into your MA
?? C
字號:
/*  
 * GETSIG    Get a signal value from the workspace  
 *           use in conjunction with putsig 
 *  
 *           Syntax:  [sys, x0] = getsig(t,x,u,flag,lb,ub,x0)  
 *  
 * Gary Levenson 6-8-1994  
 * Copyright (c) 1990-94 by The MathWorks, Inc.  
 * All Rights Reserved  
 */  
  
/*  
 * The following #define is used to specify the name of this S-Function.  
 */  
  
#define S_FUNCTION_NAME getsig 
  
/*  
 * need to include simstruc.h for the definition of the SimStruct and  
 * its associated macro definitions.  
 */  
#include <stdio.h> 
#include <string.h>
#include "simstruc.h"  
#include "mex.h" 
 
#define NUMINPUTARGS    2 
#define WIDTH           ssGetArg(S,0) 
  
/*  
 * mdlInitializeSizes - initialize the sizes array  
 *  
 * The sizes array is used by SIMULINK to determine the S-function block's  
 * characteristics (number of inputs, outputs, states, etc.).  
 */  

  
static void mdlInitializeSizes(SimStruct *S)  
{   

     int width; 

     if (ssGetNumArgs(S) != 2) {  
	char err_msg[256];  
	sprintf(err_msg,"Wrong number of input arguments passed to S-function MEX-file.\n"  
		"%d input arguments were passed in when expecting %d input arguments.\n", ssGetNumArgs(S) + 4, NUMINPUTARGS + 4); 
	mexErrMsgTxt(err_msg);  
	return;  
    } 
    
    width = mxGetPr(WIDTH)[0]; 
    ssSetNumContStates(    S, 0);      /* number of continuous states */  
    ssSetNumDiscStates(    S, 0);      /* number of discrete states */  
    ssSetNumInputs(        S, 0);      /* number of inputs */  
    ssSetNumOutputs(       S, width);      /* number of outputs */  
    ssSetDirectFeedThrough(S, 0);      /* direct feedthrough flag */  
    ssSetNumSampleTimes(   S, 1);      /* number of sample times */  
    ssSetNumInputArgs(     S, NUMINPUTARGS);      /* number of input arguments */  
    ssSetNumRWork(         S, 0);      /* number of real work vector elements */  
    ssSetNumIWork(         S, 20*sizeof(int)/sizeof(char));      /* number of integer work vector elements */  
    ssSetNumPWork(         S, 0);      /* number of pointer work vector elements */  
}  
  
/*  
 * mdlInitializeSampleTimes - initialize the sample times array  
 *  
 * This function is used to specify the sample time(s) for your S-function.  
 * If your S-function is continuous, you must specify a sample time of 0.0.  
 * Sample times must be registered in ascending order.  
 */  
  
static void mdlInitializeSampleTimes(SimStruct *S)  
{  
    /*  
     * This a purely continuous block, so I set the sample time  
     * to 0.0.  
     */  
      
    ssSetSampleTimeEvent(S, 0, 0.0);  
    ssSetOffsetTimeEvent(S, 0, 0.0);  
}  
  
/*  
 * mdlInitializeConditions - initialize the states  
 *  
 * In this function, you should initialize the continuous and discrete  
 * states for your S-function block.  The initial states are placed  
 * in the x0 variable.  You can also perform any other initialization  
 * activities that your S-function may require.  
 */  
  
static void mdlInitializeConditions(double *x0, SimStruct *S)  
{  
    Matrix *pm;
    pm = ssGetArg(S,1);
    mxGetString(pm,(char *)ssGetIWork(S),mxGetN(pm)+1);  
}  
  
/*  
 * mdlOutputs - compute the outputs  
 *  
 * In this function, you compute the outputs of your S-function  
 * block.  The outputs are placed in the y variable.  
 */  
  
static void mdlOutputs(double *y, double  *x, double *u, SimStruct *S, int tid)  
{  
	int width;  
	Matrix *pm;

        width = mxGetPr(WIDTH)[0];         
	if  (((pm = mexGetMatrixPtr((char *)ssGetIWork(S))) == NULL) ||
	                                    (mxGetM(pm)*mxGetN(pm) != width)) {  
/*
	         mexPrintf("??? Warning: signal not available in workspace.\n"); 
	         mexPrintf("Cut and then paste the GOTO block to ensure syncrhonicity \nand verify size and name information\n");
*/
	    }  
	    else { 
	        double *pr;
	        pr = mxGetPr(pm);
	        memcpy(y,pr,width*sizeof(double));
	    }     
}  
  
/*  
 * mdlUpdate - perform action at major integration time step  
 *  
 * This function is called once for every major integration time step.  
 * Discrete states are typically updated here, but this function is useful  
 * for performing any tasks that should only take place once per integration  
 * step.  
 */  
  
static void mdlUpdate(double *x, double *u, SimStruct *S, int tid)  
{  
}  
  
/*  
 * mdlDerivatives - compute the derivatives  
 *  
 * In this function, you compute the S-function block's derivatives.  
 * The derivatives are placed in the dx variable.  
 */  
  
static void mdlDerivatives(double *dx, double *x, double *u, SimStruct *S, int tid)  
{  
      
}  
  
/*  
 * mdlTerminate - called when the simulation is terminated.  
 *  
 * In this function, you should perform any actions that are necessary  
 * at the termination of a simulation.  For example, if memory was allocated  
 * in mdlInitializeConditions, this is the place to free it.  
 */  
  
static void mdlTerminate(S)  
    SimStruct *S;  
{  
	  
}  
  
#ifdef  MATLAB_MEX_FILE    /* Is this file being compiled as a MEX-file? */  
#include "simulink.c"      /* MEX-file interface mechanism */  
#else  
#include "cg_sfun.h"       /* Code generation registration function */  
#endif    

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人高清av在线| 成人毛片视频在线观看| 久久精品人人爽人人爽| 欧美中文字幕一区二区三区| 麻豆freexxxx性91精品| 亚洲欧美日韩国产中文在线| 精品少妇一区二区三区免费观看| 色综合欧美在线视频区| 亚洲成人动漫av| 欧美在线|欧美| 成人午夜看片网址| 久久se精品一区二区| 亚洲午夜免费电影| 一色桃子久久精品亚洲| 日韩欧美国产一区二区三区| 欧美亚日韩国产aⅴ精品中极品| 国产福利一区二区| 青草av.久久免费一区| 一区二区三区av电影| 国产精品久久一卡二卡| 久久久精品黄色| 欧美成人精品3d动漫h| 欧美视频中文字幕| 日本高清不卡aⅴ免费网站| 成人午夜免费视频| 国产高清无密码一区二区三区| 奇米在线7777在线精品| 亚洲成年人网站在线观看| 亚洲另类在线制服丝袜| 国产精品乱码久久久久久| 久久久美女艺术照精彩视频福利播放| 在线综合亚洲欧美在线视频| 欧美成人在线直播| 7777精品伊人久久久大香线蕉超级流畅| 91在线无精精品入口| 成人一区二区三区视频在线观看 | 亚洲欧洲av在线| 亚洲国产精品av| 欧美精彩视频一区二区三区| 久久女同精品一区二区| 久久综合久久99| 精品国产三级a在线观看| 日韩欧美国产电影| 日韩欧美国产综合在线一区二区三区| 欧美精品色综合| 欧美一卡2卡3卡4卡| 日韩一区二区电影网| 日韩欧美在线影院| 精品国产露脸精彩对白| 26uuu欧美日本| 国产色91在线| 欧美国产乱子伦| 国产精品久久毛片| 亚洲人成网站影音先锋播放| 一区二区三区不卡视频在线观看| 一区二区三区精密机械公司| 亚洲成人精品在线观看| 日本不卡一区二区三区高清视频| 免费成人在线播放| 国产乱子伦视频一区二区三区| 国产成人a级片| 91在线小视频| 7777精品伊人久久久大香线蕉超级流畅 | 欧美成人vps| 精品国精品自拍自在线| 国产午夜精品美女毛片视频| 国产精品国产三级国产普通话99| 亚洲综合色丁香婷婷六月图片| 亚洲成av人影院| 精品亚洲aⅴ乱码一区二区三区| 国产91对白在线观看九色| jvid福利写真一区二区三区| 欧美午夜免费电影| 欧美va在线播放| 国产精品精品国产色婷婷| 亚洲一本大道在线| 黄色日韩三级电影| 色综合天天综合网天天狠天天| 91精品在线一区二区| 国产无一区二区| 亚洲一区二区三区在线看 | 精品国产免费人成电影在线观看四季| 国产一区二区三区| eeuss影院一区二区三区 | 91免费观看视频在线| 欧美视频中文字幕| 久久网这里都是精品| 亚洲精品大片www| 精品系列免费在线观看| 91麻豆自制传媒国产之光| 欧美一卡二卡三卡| 亚洲人成在线播放网站岛国| 蜜臀91精品一区二区三区 | 日韩黄色免费网站| 成人禁用看黄a在线| 欧美一区中文字幕| 亚洲色图一区二区| 韩国三级在线一区| 欧美日韩色一区| 中文字幕中文在线不卡住| 久久精品噜噜噜成人88aⅴ| 一本大道久久a久久综合婷婷 | 亚洲同性同志一二三专区| 老司机免费视频一区二区| 91久久精品网| 亚洲精品久久嫩草网站秘色| 国产一区二区美女诱惑| 欧美日韩第一区日日骚| 亚洲人成在线播放网站岛国| 国产一区二区三区在线观看免费| 欧美日韩国产精选| 亚洲欧美aⅴ...| 成人一区在线观看| 欧美精品一区二区蜜臀亚洲| 丝袜美腿亚洲一区| 91豆麻精品91久久久久久| 国产精品久久久久久一区二区三区| 久久精品国产亚洲a| 欧美久久婷婷综合色| 亚洲欧美aⅴ...| 91亚洲精品一区二区乱码| 久久久不卡网国产精品一区| 麻豆精品一区二区三区| 欧美日韩国产精品自在自线| 亚洲最快最全在线视频| 国产精品伦理一区二区| 日韩免费电影网站| 一区二区欧美精品| 97se亚洲国产综合在线| 欧美激情一区二区三区在线| 国产精品一色哟哟哟| 精品第一国产综合精品aⅴ| 男男视频亚洲欧美| 日韩一区和二区| 日韩成人精品在线观看| 欧美高清www午色夜在线视频| 一区二区高清在线| 91成人国产精品| 亚洲最色的网站| 欧美剧在线免费观看网站| 亚洲精品国久久99热| 色综合天天综合网天天看片| 亚洲欧美激情在线| 在线观看成人小视频| 亚洲亚洲人成综合网络| 欧美丰满美乳xxx高潮www| 日韩高清一区二区| 欧美一区二区精品久久911| 美女在线视频一区| 26uuu精品一区二区在线观看| 精品中文字幕一区二区小辣椒| 欧美精品一区二区久久婷婷| 国产精品亚洲专一区二区三区| 久久久精品国产免大香伊| 国产欧美一区二区三区网站 | 欧美高清在线视频| 成人网男人的天堂| 亚洲乱码国产乱码精品精小说| 色999日韩国产欧美一区二区| 一二三四社区欧美黄| 在线电影一区二区三区| 狠狠色综合播放一区二区| 久久精品人人爽人人爽| 91麻豆国产福利精品| 亚洲电影第三页| 欧美mv和日韩mv的网站| 成人深夜视频在线观看| 一区二区在线观看免费| 51久久夜色精品国产麻豆| 久久99精品久久久久久久久久久久 | 色系网站成人免费| 日本欧美一区二区三区乱码| 久久久久国产精品人| 91网上在线视频| 日本不卡免费在线视频| 国产午夜三级一区二区三| 在线观看一区不卡| 极品少妇一区二区三区精品视频 | 国产亚洲污的网站| 国产精品中文字幕日韩精品| 中文字幕日韩一区二区| 91 com成人网| 岛国一区二区在线观看| 亚洲成av人片| 亚洲国产电影在线观看| 欧美日韩精品一区二区三区| 国内成人自拍视频| 亚洲一级电影视频| 久久久99久久精品欧美| 欧洲av一区二区嗯嗯嗯啊| 国产精品原创巨作av| 亚洲成人自拍偷拍| 日韩专区一卡二卡| 久久综合久色欧美综合狠狠| 欧美专区在线观看一区| 成人中文字幕合集| 蜜桃精品视频在线| 亚洲影院在线观看| 国产精品毛片无遮挡高清| 日韩一区二区电影网|