OtMatlab
To be able to use Omnitrans transport data this Matlab interface can be used.
Usage is simple. 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();
Cite As
Johan Meijdam (2026). OtMatlab (https://se.mathworks.com/matlabcentral/fileexchange/12306-otmatlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Matlab link to OmniTRANS 5.1
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
