IRIS-Solutions-Team / IRIS-Toolbox

[IrisToolbox] for Macroeconomic Modeling
Other
90 stars 41 forks source link

Dbload Error #360

Open zgrklc opened 1 year ago

zgrklc commented 1 year ago

Hello Everyone, I am using R2020a Matlab and my IRIS toolbox version is IRIS-Toolbox-Release-20180507. I am getting the error message while uploading the CSV file. Is there anyone who can help me with this? My codes: close all clear clc

histQuarterly = struct( ); histMonthly = struct( );

%% Quarterly Data

histQuarterly = dbload('Data/Data_Quarterly.csv', ... 'dateFormat=', 'DD.MM.YYYY', ... 'delimiter=', ';', ... 'freq=',4);

%% Monthly Data

histMonthly = dbload('Data/Data_Monthly.csv', ... 'dateFormat=', 'DD.MM.YYYY', ... 'delimiter=', ';', ... 'freq=',12);


ERROR MESAGE

Unable to resolve the name extend.InputParser.

Error in str2dat (line 49) INPUT_PARSER = extend.InputParser('dates.str2dat');

Error in dbload/parseDates (line 575) dates(~ixEmptyDate) = str2dat(dateCol(~ixEmptyDate), ...

Error in dbload (line 259) [dates, ixNanDate] = parseDates( );

Error in read_rawdata*(line 11) histQuarterly = dbload('Data/Data_Quarterly.csv', ..

jaromir-benes commented 1 year ago

Hi - this looks like that some folders are missing from your Iris. Could you check if you have a folder named +extend inside your Iris root folder? Best, J

On Wed, Jan 4, 2023 at 1:14 PM zgrklc @.***> wrote:

Hello Everyone, I am using R2020a Matlab and my IRIS toolbox version is IRIS-Toolbox-Release-20180507. I am getting the error message while uploading the CSV file. Is there anyone who can help me with this? My codes: close all clear clc

histQuarterly = struct( ); histMonthly = struct( );

%% Quarterly Data

histQuarterly = dbload('Data/Data_Quarterly.csv', ... 'dateFormat=', 'DD.MM.YYYY', ... 'delimiter=', ';', ... 'freq=',4);

%% Monthly Data

histMonthly = dbload('Data/Data_Monthly.csv', ... 'dateFormat=', 'DD.MM.YYYY', ... 'delimiter=', ';', ... 'freq=',12);

Unable to resolve the name extend.InputParser.

Error in str2dat (line 49) INPUT_PARSER = extend.InputParser('dates.str2dat');

Error in dbload/parseDates (line 575) dates(~ixEmptyDate) = str2dat(dateCol(~ixEmptyDate), ...

Error in dbload (line 259) [dates, ixNanDate] = parseDates( );

Error in read_rawdata*(line 11) histQuarterly = dbload('Data/Data_Quarterly.csv', ..

— Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/360, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCVKKSZBIYMDQUCLKHVBGTWQVST3ANCNFSM6AAAAAATQXFM44 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

zgrklc commented 1 year ago

Hello again, in +Extend there is only InputParser.m. Thank you

jaromir-benes commented 1 year ago
  1. Is the name of the folder "+Extend" or "+extend"?

  2. Can you please do

    path in the command window and copy-paste the output of that?

Jaromir

On Thu, Jan 5, 2023 at 1:36 PM zgrklc @.***> wrote:

Hello again, in +Extend there is only InputParser.m. Thank you

— Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/360#issuecomment-1372162246, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCVKKVLZNOU3MM5BXKCWODWQ255NANCNFSM6AAAAAATQXFM44 . You are receiving this because you commented.Message ID: @.***>

zgrklc commented 1 year ago

When I changed it to +extend the problem was solved but I am currently dealing with the following problem. What could be causing the problem? thank you so much. My code: combineModelFiles = { 'new_gap_external.model' 'new_gap_external_measurement.model' }; Error: Error using model (line 741) IRIS Toolbox Error when parsing input string *** Cannot find this file: new_gap_external_measurement.model

jaromir-benes commented 1 year ago

Apparently, the file named "new_gap_external_measurement.model" does not exist within your working directory. Run

dir

in the command window to see the list of files available.

JB

On Fri, Jan 6, 2023 at 1:58 PM zgrklc @.***> wrote:

When I changed it to +extend the problem was solved but I am currently dealing with the following problem. What could be causing the problem? thank you so much. My code: combineModelFiles = { 'new_gap_external.model' 'new_gap_external_measurement.model' }; Error: Error using model (line 741) IRIS Toolbox Error when parsing input string *** Cannot find this file: new_gap_external_measurement.model

— Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/360#issuecomment-1373588541, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCVKKVMCHSH4UGTD266FFTWRAJIHANCNFSM6AAAAAATQXFM44 . You are receiving this because you commented.Message ID: @.***>