Ignore:
Timestamp:
04/16/12 17:40:30 (13 years ago)
Author:
Eric.Larour
Message:

Preliminary commit of new issm version, where serial code is starting to be stripped away. Will not run before some major debugging is done

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/objects/Params/StringArrayParam.cpp

    r11936 r12011  
    236236}
    237237/*}}}*/
    238 /*FUNCTION StringArrayParam::SetMatlabField{{{1*/
    239 #if defined(_HAVE_MATLAB_) && defined(_SERIAL_)
    240 void  StringArrayParam::SetMatlabField(mxArray* dataref){
    241        
    242         int      i;
    243         char*    name=NULL;
    244         mwSize   dims[2]={0};
    245         mxArray* pfield=NULL;
    246        
    247         this->GetParameterName(&name);
    248 
    249         dims[0]=this->numstrings;
    250         dims[1]=1;
    251         pfield=mxCreateCellArray(2,dims);
    252         for(i=0;i<this->numstrings;i++){
    253                 char* string=value[i];
    254                 mxSetCell(pfield,i,mxCreateString(string));
    255         }
    256         mxSetField( dataref, 0, name,pfield);
    257 }
    258 #endif
    259 /*}}}*/
    260238/*FUNCTION StringArrayParam::SetValue{{{1*/
    261239void  StringArrayParam::SetValue(char** stringarray,int M){
Note: See TracChangeset for help on using the changeset viewer.