Main Content

Die Übersetzung dieser Seite ist veraltet. Klicken Sie hier, um die neueste Version auf Englisch zu sehen.

MATLAB-Daten-API für C++

Lesen und Schreiben von MATLAB-Daten aus C++ Programmen heraus über die MATLAB®-Daten-API

Die MATLAB-Daten-API bietet eine Möglichkeit für Anwendungen, die außerhalb von MATLAB ausgeführt werden, über eine MATLAB-neutrale Schnittstelle mit MATLAB-Daten zu arbeiten. Die API nutzt moderne C++ Semantik und Designmuster und vermeidet durch Copy-on-Write-Semantik von MATLAB weitestgehend die Erstellung von Datenkopien.

Hinweis

Die MATLAB-Daten-API unterstützt moderne C++ Funktionen und ist nicht mit C Matrix-API kompatibel. Sie können Funktionen aus der MATLAB-Daten-API in einer MEX-Datei nicht mit Funktionen aus der C Matrix-API und der C MEX-API kombinieren. Ebenso wenig können Sie Funktionen der MATLAB-Daten-API mit Funktionen in der C Engine-API (erläutert unter Aufrufen von MATLAB aus C heraus) oder der C MAT-File-API (erläutert in Verfassen von C Programmen zum Lesen von MAT-File-Daten) kombinieren.

Klassen

alle erweitern

matlab::data::ArrayFactoryC++ class to create arrays
matlab::data::ArrayC++ base class for all array types
matlab::data::TypedArray<T>Templated C++ class to access array data
matlab::data::CellArrayC++ class to access MATLAB cell arrays
matlab::data::CharArrayC++ class to access MATLAB character arrays
matlab::data::EnumArrayC++ class to access MATLAB enumeration arrays
matlab::data::ObjectArrayC++ class to access MATLAB object arrays
matlab::data::SparseArray<T>Templated C++ class to access data in MATLAB sparse arrays
matlab::data::StringArrayC++ class to access MATLAB string arrays
matlab::data::StructArrayC++ class to access MATLAB struct arrays
matlab::data::ArrayTypeC++ array type enumeration class
matlab::data::ArrayDimensionsType specifying array dimensions
matlab::data::ColumnMajorC++ class to create iterators and ranges that iterate in column-major order (Seit R2022a)
matlab::data::EnumerationElement type for MATLAB enumeration arrays
matlab::data::MATLABFieldIdentifierC++ class used to identify field names in MATLAB struct array
matlab::data::MATLABStringElement type for MATLAB string arrays
matlab::data::ObjectElement type for MATLAB object arrays
matlab::data::optional<T>Templated C++ class representing optional values
matlab::data::RowMajorC++ class to create iterators and ranges that iterate in row-major order (Seit R2022a)
matlab::data::StringType representing strings as std::basic_string<char16_t>
matlab::data::StructElement type for MATLAB struct arrays
matlab::data::Reference<T>Templated C++ class to get references to Array elements
matlab::data::Reference<MATLABString>C++ class to get reference to element of StringArray
matlab::data::Reference<Struct>C++ class to get reference to element of StructArray
matlab::data::Reference<Array>C++ class to get reference to Array
matlab::data::Reference<TypedArray<T>>Templated C++ class to get reference to TypedArray
matlab::data::Reference<SparseArray<T>>Templated C++ class to get reference to SparseArray
matlab::data::Reference<CharArray>C++ class to get reference to CharArray
matlab::data::Reference<EnumArray>C++ class to get reference to EnumArray
matlab::data::Reference<StructArray>C++ class to get reference to StructArray
matlab::data::TypedIterator<T>Templated C++ class to provide random access iterator in memory order
matlab::data::ColumnMajorIterator<T>Templated C++ class to provide column-major random access iterator (Seit R2022a)
matlab::data::RowMajorIterator<T>Templated C++ class to provide row-major random access iterator (Seit R2022a)
matlab::data::ForwardIterator<T>Templated C++ class to provide forward iterator support for StructArray field names
matlab::data::Range<ItType,ElemType>Templated C++ class to provide range-based operation support
matlab::data::apply_visitorCall Visitor class on arrays
matlab::data::apply_visitor_refCall Visitor class on array references
matlab::ExceptionC++ base class for exceptions

Themen