OtMatlab

Matlab interface to Omnitrans transport planning database.
830 Downloads
Updated 20 May 2009

View License

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

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Matlab link to OmniTRANS 5.1

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
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