convertedTable
R2026bSyntax
Description
imports multiple sources, each with its specified converter.cTable = convertedTable(importer,source1,converterName1,...,sourceN,converterNameN)
Examples
Load a saved truth TrackingTruthDataImporter object and display the object properties. For more information on the creation of the TrackingTruthDataImporter object, see the Import Data Using Tracking Data Importer App example.
load truthImporterFile.mat;
truthImportertruthImporter =
TrackingTruthDataImporter with configurations:
Contained Converters:
Converter Link Source Type Required Columns
-------------- ----------- -------------------------
FlightLog1 spreadsheet time, latitude, longitude
Output Data Information:
Coordinate Type: Cartesian
Frame Type: ECEF
Usage:
trackingScenarioRecording: Export as a trackingScenarioRecording object for playing and metric evaluation
truthlog: Export as a truth log structure for metric evaluation
tuningData: Export as a tuning data structure for tracking filter turning
convertedTable: Export converted table
Apply the truthImporter object to a flight log named LAToBostonFlightLog.xlsx, to get a convertedTable.
convertedTable(truthImporter,"LAToBostonFlightLog.xlsx")[07-Aug-2026 01:30:22]: Start importing 'LAToBostonFlightLog.xlsx' with converter 'FlightLog1'. [07-Aug-2026 01:30:25]: Finish importing 'LAToBostonFlightLog.xlsx' with converter 'FlightLog1'.
ans = 592×8 table
Date Time Platform ID Latitude(degree) Longitude(degree) Altitude(m) Speed(m/s) Course(degree) Climb Rate(m/s)
___________________ ___________ ________________ _________________ ___________ __________ ______________ _______________
2024-10-01 00:00:00 1 33.947 -118.43 67.455 83.15 -99.005 5.1484
2024-10-01 00:00:16 1 33.945 -118.45 134.76 89.408 -97.281 2.9937
2024-10-01 00:00:32 1 33.944 -118.46 171.94 105.5 -95.453 2.8752
2024-10-01 00:00:48 1 33.942 -118.48 232.27 116.68 -92.076 3.9885
2024-10-01 00:01:05 1 33.941 -118.51 304.33 127.41 -99.498 4.2966
2024-10-01 00:01:21 1 33.935 -118.53 374 131.88 -123.79 5.0531
2024-10-01 00:01:39 1 33.917 -118.54 483.17 136.35 -162.69 5.2546
2024-10-01 00:01:56 1 33.897 -118.55 562.15 141.26 177.73 4.9735
2024-10-01 00:02:23 1 33.862 -118.54 708.45 146.63 171.51 5.6726
2024-10-01 00:02:53 1 33.82 -118.53 887.31 147.52 173.27 4.9681
2024-10-01 00:03:23 1 33.782 -118.53 1015.1 152.89 175.96 2.3517
2024-10-01 00:03:53 1 33.738 -118.52 1063.8 174.35 170.01 2.3006
2024-10-01 00:04:09 1 33.711 -118.51 1119.5 189.1 151.5 3.6634
2024-10-01 00:04:27 1 33.689 -118.49 1189.2 200.72 126.51 4.2575
2024-10-01 00:04:48 1 33.672 -118.45 1289.1 207.87 110.37 4.1762
2024-10-01 00:05:23 1 33.653 -118.37 1416.8 215.47 101.94 3.7983
⋮
Input Arguments
Tracking truth data importer, specified as a TrackingTruthDataImporter object. You can use the Tracking Data Importer app to create these objects.
Data source to read, specified as one of the following:
A string scalar or character vector representing the path to a data file.
A MATLAB® table or timetable from workspace.
A string array or cell array of character vectors representing paths to multiple data files of the same format.
A cell array of tables or timetables.
For details on the exact format requirements for the file or table, see the display of
the importer object.
Example: "./flight_log.csv"
Name of the converter to use for the preceding source, specified as a string scalar or character vector. The converter name must match one of the converters defined in the importer object.
Output Arguments
Converted table, returned as a table.
Platform IDs and class IDs mapping information, returned as a structure that contains two fields:
PlatformIDMapping— Mapping relationship between platform IDs in the source and exported platform IDs, returned as adictionaryobject.ClassIDMapping— Mapping relationship between class IDs in the source and exported class IDs, returned as adictionaryobject.
Version History
Introduced in R2025aYou can now specify multiple sources with different converters in a single call.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)