Matlab link to OmniTRANS 5.1

버전 1.1.0.0 (159 KB) 작성자: Erik de Romph
The toolkit interfaces to the OmniTRANS database.
다운로드 수: 413
업데이트 날짜: 2010/2/3

라이선스 보기

Matlab interface to OmniTRANS. You can read and write tables, execute SQL queries and read and write matrices. The usage is simple and straightforward using m-files.

The following example returns all names starting with an H:

OtStart();
hquery = OtQueryNew();
OtQuerySetSQL(hquery, 'SELECT name AS Hnames FROM "name.DB" AS nametable WHERE name LIKE "H%"');
OtQueryOpen(hquery);
disp(OtQueryFields(hquery));
OtQueryFirst(hquery);
while ~OtQueryEof(hquery)
disp(OtQueryGetAll(hquery));
OtQueryNext(hquery);
end
OtQueryClose(hquery);
OtQueryFree(hquery);
OtStop();

The next example opens two matrices and adds them together

OtStart();
hmcube = OtMatrixCubeNew(['d:\myproject\myvariant'], '2008');
pmtu = OtPmtu(1,2,4,41);
mymatrixA = OtMatrixCubeGet(hmcube, pmtu);
pmtu = OtPmtu(12,4,4,2);
mymatrixB = OtMatrixCubeGet(hmcube, pmtu);
mymatrixC = mymatrixA + mymatrixB;
OtMatrixCubeFree(hmcube);
OtStop();

인용 양식

Erik de Romph (2025). Matlab link to OmniTRANS 5.1 (https://kr.mathworks.com/matlabcentral/fileexchange/26497-matlab-link-to-omnitrans-5-1), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2009b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Database Toolbox에 대해 자세히 알아보기
도움

도움 받은 파일: OtMatlab

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Removed all references to the GNU license.

1.0.0.0