Menu

Using the Line scripts

Help
Tasabeeh
2016-08-13
2016-08-17
  • Tasabeeh

    Tasabeeh - 2016-08-13

    Hello,

    I’m using Line scripts version 1.0.0 and I'm trying to run LQN Examples(CQN_analysis_1.m, example_CQN_Cox_analysis_1.m, example_CQN_Cox_RE_analysis_1.m, example_CQN_Cox_REPH_analysis_1.m, example_CQN_RE_analysis_1.m )
    in MATLAB R2013a but I always get the warning ” Warning: No LQN definition has been found. Performance metrics at entry level will not be computed.”
    and the result doesn't Show up in Screen.
    Please Help me to run these examples.

     

    Last edit: Tasabeeh 2016-08-13
  • Juan

    Juan - 2016-08-15

    Hi Tasabeeh,
    This warning is normal when using the LINE scripts to solve a CQN model. As LINE solves LQN models, it can provide more detailed metrics when an LQN definition is provided, as done for instance in the "example_LQN_1" script. In the examples you mention, the CQN models are not associated to an LQN model, and thus the metrics computed are all at the CQN level. When you execute these examples, all the metrics computed are in the output arguments, which are described in the help of each of the "analysis" scripts used in the examples. For instance, in example_CQN_Cox_analysis_1, the script used for analysis is CQN_Cox_analysis, if you type "help CQN_Cox_analysis" in the MATLAB command window, you will obtain the description of these output arguments.
    Hope this heps.

    Best wishes,
    Juan

     

    Last edit: Juan 2016-08-15
  • Tasabeeh

    Tasabeeh - 2016-08-16

    Hi Juan,

    Thank you very much for clarify that issue, but I get Errors when running these Examples ( example_LQN_1.m, example_LQN_2.m, example_LQN_3.m and example_LQN_4) which is

    "Error in readXML_CQN (line 21)
    if nargin == 1; verbose = 0; end

    Error using lqn.readXML_CQN
    Output argument "entryGraphs" (and maybe others) not assigned during call to
    "C:\Users\Tasabee7\Documents\MATLAB\LINE_v100_src
    (1)\models+lqn\readXML_CQN.m>readXML_CQN".

    Error in lqn.solveLQN (line 39)
    [myCQN, entry, entryGraphs, processors, activitiesProcs, activitiesClass] =
    readXML_CQN(XMLfile, verbose);

    Error in example_LQN_1 (line 17)
    lqn.solveLQN(filename, '', options);".

    Best Regards.

     

    Last edit: Tasabeeh 2016-08-17
  • Juan

    Juan - 2016-08-17

    Hi Tasabeeh,
    The error message says that the XML file containing the LQN model cannot be found. Can you please check that the file is in the path indicated by the error message? The "data/LQN/ofbizExample.xml" file is part of the "src/examples" folder, so if you checked out or downloaded the whole release, this and other example files should be in the same location.

    A possible source of this error is that the example scripts were copied to a folder (apparently in this case to MATLAB's default folder) without copying the accompanying "data" folder that contains all the supporting data files.

    Best wishes,
    Juan

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.