Changeset 9325
- Timestamp:
- 08/12/11 14:19:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/io/Matlab/OptionParse.cpp
r9323 r9325 106 106 /*loop through and process each field for the element */ 107 107 for (i=0; i<mxGetNumberOfFields(prhs[0]); i++) { 108 s nprintf(namei,161,"%s.%s",name,mxGetFieldNameByNumber(prhs[0],i));108 sprintf(namei,"%s.%s",name,mxGetFieldNameByNumber(prhs[0],i)); 109 109 structi=mxGetFieldByNumber(prhs[0],sindex,i); 110 110 … … 152 152 ColumnWiseDimsFromIndex(dims,(int)cindex,ocell->size,ocell->ndims); 153 153 StringFromDims(cstr,dims,ocell->ndims); 154 sprintf(namei, "%s%s",name,cstr);154 sprintf(namei,161,"%s%s",name,cstr); 155 155 celli=mxGetCell(prhs[0],cindex); 156 156
Note:
See TracChangeset
for help on using the changeset viewer.