Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ʹÓÃmex CÉú³ÉMATLABµÄ¹ÉƱÊý¾Ý·ÖÎö½Ó¿Ú

#include "mex.h"
#define DWORD long 
#define NUMBER_OF_STRUCTS (sizeof(friends)/sizeof(struct phonebook))
#define NUMBER_OF_FIELDS (sizeof(field_names)/sizeof(*field_names))
void mexFunction(int nlhs,
    mxArray * plhs[] , int nrhs,const mxArray * pahs[])
{
typedef struct {
        DWORD    dt;  //ÈÕÆÚ: ±ÈÈç¶Á³öÊý¾ÝΪ20031110,´ú±í2003Äê11ÔÂ10ºÅ
        DWORD    k_price;//¿ªÅ̼Û*0.01£¨£©:¶Á³öµÄ¼Û¸ñ³Ë0.01Ϊʵ¼Ê¼Û¸ñ¡£ÏÂͬ¡£
        DWORD    h_price;//×î¸ß¼Û*0.01
        DWORD    l_price;//×îµ×¼Û*0.01
        DWORD    s_price;//ÊÕÅ̼Û
        float    s_tolmoney;//(µ¥Î»:ÒÚ)
        DWORD bur_tol;//³É½»Á¿
        DWORD unknown; ///ûÓÐʹÓÃ
    }ST_K_DATE;
   
    FILE * f = 0;
    int nfieldidx= 0;
    char * pkdata;
    int lday = 8;
    int dims[2] = {1, lday };
   char msg[128] = "";
   char path[512] = {0};
   int i,r,c ,*val;
   double  *kp,*sp,*hp,*lp,*tm,*vol;
   int lseekpos;    
   mxArray *field_value;   
   const char *field_names[] = {"ÈÕÆÚ", "¿ªÅ̼Û","×î¸ß¼Û","×îµÍ¼Û","ÊÕÅ̼Û","³É½»½ð¶î","³É½»Á¿"};  
   ST_K_DATE * pd = 0;
   r = mxGetM(pahs[0]);
   c = mxGetN(pahs[0]);
   sprintf(msg,"r:%d , c:%d  rn",r,c);
   mexPrintf(msg);
   mxGetString(pahs[0],msg,128);
   sprintf(path,"D:\jcb_hxzq\vipdoc\sh\lday\sh%s.day",msg);
   me


Ïà¹ØÎĵµ£º

ÓÃCдµÄ3DÃÔ¹¬

          Boss˵£¬Òª¿´OpenGL£¬¿´ÁË¿ìÒ»¸öÔ£¬×ÜËã³öÁ˸öÏñÑùµÄ¶«Î÷£¬ÓÃCдÁ˸ö3DÃÔ¹¬£¬
ËäȻֻÓÐ350ÐÐ
       ´úÂ룬²»¹ý±ßѧ±ßд£¬×ã×ãдÁËÒ»ÖÜʱ¼ä£¬»¹ÊÇСÓгɾ͸е쬻î»î»î£¡
         &n ......

c/sµÄÏîÄ¿´ò°ü£¨º¬ÅäÖÃÎļþ£©

1 ÔÚ½â¾ö·½°¸ÖÐÌí¼ÓWindows°²×°ÏîÄ¿
   ˼·: A ÆäËüÏîÄ¿ÀàÐÍ->°²×°ºÍ²¿Êð
     B Ñ¡Ôñ°²×°ÏîĿģ°å
2 Íê³É³ÌÐòµÄÌí¼Ó
    ˼·: A Ñ¡ÖÐÓ¦ÓóÌÐòÎļþ¼Ð->ÓÒ¼üÑ¡ÔñÌí¼ÓÎļþ->
        Ñ¡ÖÐÓ¦ÓóÌÐò(ÏîÄ¿Ãû.exe)£¨Íê³É³ÌÐòµÄ´ò°ü£ ......

linux 0.11 ÄÚºËѧϰ sched.c£¬µ÷¶È½ø³Ì¡£


/*
 * 2010-1-21
 * ¸ÃÎļþʱÄÚºËÖÐÓйØÈÎÎñµ÷¶ÈµÄº¯Êý³ÌÐò£¬ÆäÖаüº¬»ù±¾º¯Êýsleep_on£¬
 * wakeup£¬scheduleµÈ£¬ÒÔ¼°Ò»Ð©¼òµ¥µÄϵͳµ÷Óá£Í¬Ê±½«ÈíÅ̵ö²Ù×÷
 * º¯ÊýÒ²·ÅÖÃÔÚÕâÀï¡£
 * 
 * scheduleº¯ÊýÊ×ÏȶÔËùÓеÄÈÎÎñ¼ì²é£¬»½ÐÑÈκÎÒ»¸öÒѾ­µÃµ½ÐźŵÄÈÎÎñ£¬
 * ......

¡¾C\C++ÓïÑÔÈëÃÅÆª¡¿ ÆÊÎö¸¡µãÊý

Ç°ÃæÒ»ÆªÎÒÃǽ²ÁËλÔËËãºó£¬»ù±¾CÓïÑԵĴó¿é¶¼Ìá¼°ÁË£¬Ò»Ð©Ï¸½ÚºÍÓ÷¨ÔÝʱ²»ÔÙ±¾Ä£¿é½éÉÜÁË¡£Ï£ÍûÎÒµÄÐÄÔ¸Äܹ»ÔÚÎÒ±Ïҵ֮ǰ¸øÎҵĴóѧÉúÑÄ»®ÉÏÒ»¸öÔ²ÂúµÄ¾äºÅ¡£¼ÓÓÍŬÁ¦¡£
ÔÚ±¾Ä£¿éµÄµÚÈýƪ¾ÍÒѾ­½²ÁË»ù±¾µÄÊý¾ÝÀàÐÍ£¬ÆäÖаѸ¡µãÊý¿ÌÒâÁôÔÚÁ˺óÃæÀ´½éÉÜ¡£ÎÒµÄÀí½âÊÇÔÚÎÒÃÇÀí½âÁËÄڴ棬ָÕ룬λÔËËãµÈºó£¬ÔÙÀ´½éÉܸ¡µãÕâ¸öÌ ......

java¿ì »¹ÊÇ c¿ì[c++¿ì],ËÆÊǶø·ÇµÄ̸

    Ê×ÏÈ˵Ã÷Ò»ÏÂÕâ¸ö”¿ì”µÄº¬Òå,ÎÒÏëÒÔǰÄÇЩÌÖÂÛÕâ¸ö»°ÌâµÄÈ˵±È»ÈÏΪÕâ¸ö¿ìÊÇÖ¸³ÌÐòµÄÔËÐÐËÙ¶È,ÖÁÓÚ”Èí¼þ¿ª·¢ËÙ¶È”¿ÖÅÂÏëҲûÏë,»òÐíÈÏΪÈí¼þ¿ª·¢ËٶȺÍÕâ¸ö»°Ìâ³¶²»ÉÏÒ»µã¹ØÏµ.ÄÇôÕâ¸öÎÊÌâÔÚÍøÉÏËÑËÑ,ËѵÄÒ»´ó¶Ñ,ÄÇЩc/c++ÕóÓªµÄÁÐÁ˺ܶàÀý×ÓÀ´ËµÃ÷c/c++¿ì, javaÕóÓªµÄÒ²ÊÇÈç´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ