Why do I have a "Changing between datetime data with a time zone and data without time zone is not supported" error in Diagnostic Feature Designer ?

I am running Diagnostic Feature Designer in MATLAB R2023a on a table composed of a timetable and a fault code. 
The import works fine but when I try to plot a signal I get the error message:
"Changing between datetime data with a time zone and data without time zone is not supported". 
I noticed that all the timestamps have the same "TimeZone" property.

 Réponse acceptée

Time zones are not supported within the Diagnostic Feature Designer app in MATLAB R2023a. This means that you will not be able to import and use the datetime data with time zones.
 
To work around the issue, you can remove the time zones prior to importing the data into the Diagnostic Feature Designer app.
Please refer to the following example for more details:
 
for i=1:numel(tbl.Data)
   tbl.Data{i}.timestamp.TimeZone="";
end

Plus de réponses (0)

Catégories

En savoir plus sur Predictive Maintenance Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by