OtMatlab

Matlab interface to Omnitrans transport planning database.

You are now following this Submission

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://in.mathworks.com/matlabcentral/fileexchange/12306-otmatlab), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Matlab link to OmniTRANS 5.1

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

* Contains some bug fixes.
* Updated to Matlab 7.6 (R2008a).
* Removed Microsoft's SDL warnings.

1.1.0.0

Removed LGPL to be replaced by Mathwork's BSD.

1.0.0.0