フィルターのクリア

error when loading a mat file

2 ビュー (過去 30 日間)
Wesso
Wesso 2019 年 3 月 3 日
コメント済み: Wesso 2019 年 3 月 3 日
Hi,
I am simple trying to load a mat file called Step1 that has only two variables t20142018 and opts.When dowloading the file I receive a strange error. What could be the reason? I want to use opts to export excel files in other folders and I need to maintina the consistency. So I am afraid of chanfing anything in the opts variables that could affect my other imports.
opts = detectImportOptions(File);
A = readtable(File,opts); %
save step1 t20142018 opts
clear all
load step1
Error using matlab.io.DatetimeVariableImportOptions/set.Type (line 130)
Type cannot be set for datetime import options.
Use the setvartype function to change the variable type. For example,
opts = setvartype(opts, '', 'datetime')
Error in Step1_20142018 (line 25)
load step1
  2 件のコメント
madhan ravi
madhan ravi 2019 年 3 月 3 日
upload your mat file
Wesso
Wesso 2019 年 3 月 3 日
the file is 45 mb,which doesn't allow me to upload it . and I can't open it since it gives error.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by