Fortran 데이터에 액세스하기
데이터 읽기 또는 데이터를 배열에 쓰기
차원과 크기 같은 MATLAB® 배열에 대한 정보를 가져오고 유형을 기반으로 데이터의 요소를 가져오려면 다음의 함수를 사용하십시오. 또한 이러한 함수를 사용하여 데이터를 mxArray
변수에 쓸 수 있습니다.
Fortran 함수
mxGetNumberOfDimensions | mxArray의 차원 수 |
mxGetElementSize | Number of bytes required to store each data element |
mxGetDimensions | Pointer to dimensions array |
mxSetDimensions | Modify number of dimensions and size of each dimension |
mxGetNumberOfElements | 숫자형 mxArray의 요소 개수 |
mxCalcSingleSubscript | Offset from first element to desired element |
mxGetM | mxArray의 행 개수 |
mxSetM | mxArray의 행 개수 설정 |
mxGetN | mxArray의 열 개수 |
mxSetN | mxArray의 열 개수 설정 |
mxGetScalar | Real component of first data element in array |
mxGetDoubles | mxDOUBLE_CLASS 배열의 실수 데이터 요소 |
mxSetDoubles | mxDOUBLE_CLASS 배열에 실수 데이터 요소 설정 |
mxGetSingles | mxSINGLE_CLASS 배열의 실수 데이터 요소 |
mxSetSingles | mxSINGLE_CLASS 배열에 실수 데이터 요소 설정 |
mxGetInt8s | mxINT8_CLASS 배열의 실수 데이터 요소 |
mxSetInt8s | mxINT8_CLASS 배열에 실수 데이터 요소 설정 |
mxGetUint8s | mxUINT8_CLASS 배열의 실수 데이터 요소 |
mxSetUint8s | mxUINT8_CLASS 배열에 실수 데이터 요소 설정 |
mxGetInt16s | mxINT16_CLASS 배열의 실수 데이터 요소 |
mxSetInt16s | mxINT16_CLASS 배열에 실수 데이터 요소 설정 |
mxGetUint16s | mxUINT16_CLASS 배열의 실수 데이터 요소 |
mxSetUint16s | mxUINT16_CLASS 배열에 실수 데이터 요소 설정 |
mxGetInt32s | mxINT32_CLASS 배열의 실수 데이터 요소 |
mxSetInt32s | mxINT32_CLASS 배열에 실수 데이터 요소 설정 |
mxGetUint32s | mxUINT32_CLASS 배열의 실수 데이터 요소 |
mxSetUint32s | mxUINT32_CLASS 배열에 실수 데이터 요소 설정 |
mxGetInt64s | mxINT64_CLASS 배열의 실수 데이터 요소 |
mxSetInt64s | mxINT64_CLASS 배열의 데이터 요소 설정 |
mxGetUint64s | mxUINT64_CLASS 배열의 실수 데이터 요소 |
mxSetUint64s | mxUINT64_CLASS 배열에 실수 데이터 요소 설정 |
mxGetData | Data elements in nonnumeric mxArray |
mxSetData | Set pointer to data elements in nonnumeric
mxArray |
mxGetPr | (권장되지 않음) mxDOUBLE_CLASS 배열의 실수 데이터 요소 |
mxSetPr | (Not recommended) Set real data elements in mxDOUBLE_CLASS
array |
mxGetComplexDoubles | mxDOUBLE_CLASS 배열의 복소수 데이터 요소 |
mxSetComplexDoubles | mxDOUBLE_CLASS 배열에 복소수 데이터 요소 설정 |
mxGetComplexSingles | mxSINGLE_CLASS 배열의 복소수 데이터 요소 |
mxSetComplexSingles | mxSINGLE_CLASS 배열에 복소수 데이터 요소 설정 |
mxGetComplexInt8s | mxINT8_CLASS 배열의 복소수 데이터 요소 |
mxSetComplexInt8s | mxINT8_CLASS 배열에 복소수 데이터 요소 설정 |
mxGetComplexUint8s | mxUINT8_CLASS 배열의 복소수 데이터 요소 |
mxSetComplexUint8s | mxUINT8_CLASS 배열에 복소수 데이터 요소 설정 |
mxGetComplexInt16s | mxINT16_CLASS 배열의 복소수 데이터 요소 |
mxSetComplexInt16s | mxINT16_CLASS 배열에 복소수 데이터 요소 설정 |
mxGetComplexUint16s | mxUINT16_CLASS 배열의 복소수 데이터 요소 |
mxSetComplexUint16s | mxUINT16_CLASS 배열에 복소수 데이터 요소 설정 |
mxGetComplexInt32s | mxINT32_CLASS 배열의 복소수 데이터 요소 |
mxSetComplexInt32s | mxINT32_CLASS 배열에 복소수 데이터 요소 설정 |
mxGetComplexUint32s | mxUINT32_CLASS 배열의 복소수 데이터 요소 |
mxSetComplexUint32s | mxUINT32_CLASS 배열에 복소수 데이터 요소 설정 |
mxGetComplexInt64s | mxINT64_CLASS 배열의 복소수 데이터 요소 |
mxSetComplexInt64s | mxINT64_CLASS 배열에 복소수 데이터 요소 설정 |
mxGetComplexUint64s | mxUINT64_CLASS 배열의 복소수 데이터 요소 |
mxSetComplexUint64s | mxUINT64_CLASS 배열에 복소수 데이터 요소 설정 |
mxGetImagData | Imaginary data elements in numeric mxArray |
mxSetImagData | Set imaginary data elements in numeric mxArray |
mxGetPi | (Not recommended) Imaginary data elements in mxDOUBLE_CLASS
array |
mxSetPi | (Not recommended) Set imaginary data elements in
mxDOUBLE_CLASS array |
mxGetClassID | Class of mxArray |
mxGetClassName | Class of mxArray as string |
mxGetProperty | Value of public property of MATLAB object |
mxSetProperty | Set value of public property of MATLAB object |
mxGetField | Pointer to field value from structure array, given index and field name |
mxSetField | Set field value in structure array, given index and field name |
mxGetNumberOfFields | Number of fields in structure array |
mxGetFieldNameByNumber | Pointer to field name from structure array, given field number |
mxGetFieldNumber | Field number from structure array, given field name |
mxGetFieldByNumber | Pointer to field value from structure array, given index and field number |
mxSetFieldByNumber | Set field value in structure array, given index and field number |
mxAddField | 구조체형 배열에 필드 추가 |
mxRemoveField | Remove field from structure array |
mxGetNzmax | Number of elements in IR, PR, and PI arrays |
mxSetNzmax | Set storage space for nonzero elements |
mxGetIr | Sparse matrix IR array |
mxSetIr | IR array of sparse array |
mxGetJc | Sparse matrix JC array |
mxSetJc | JC array of sparse array |
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)