Changeset 9323 for issm/trunk/src/c/io/Matlab/OptionParse.cpp
- Timestamp:
- 08/12/11 14:11:51 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/io/Matlab/OptionParse.cpp
r9320 r9323 106 106 /*loop through and process each field for the element */ 107 107 for (i=0; i<mxGetNumberOfFields(prhs[0]); i++) { 108 s printf_s(namei,161,"%s.%s",name,mxGetFieldNameByNumber(prhs[0],i));108 snprintf(namei,161,"%s.%s",name,mxGetFieldNameByNumber(prhs[0],i)); 109 109 structi=mxGetFieldByNumber(prhs[0],sindex,i); 110 110
Note:
See TracChangeset
for help on using the changeset viewer.