The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 36 - File: global.php(844) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/global.php(844) : eval()'d code 36 errorHandler->error
/global.php 844 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5132 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 5132 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7288 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7288 errorHandler->error
/inc/functions.php 5152 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7288 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7288 errorHandler->error
/inc/functions.php 5152 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



jeplus.org forums
Query regarding run jEPlus in Matlab - Printable Version

+- jeplus.org forums (http://jeplus.org/mybb)
+-- Forum: Building simulation tools (http://jeplus.org/mybb/forumdisplay.php?fid=1)
+--- Forum: jEPlus (http://jeplus.org/mybb/forumdisplay.php?fid=2)
+--- Thread: Query regarding run jEPlus in Matlab (/showthread.php?tid=413)



Query regarding run jEPlus in Matlab - Shana - 03-10-2016

I am testing on the example in the  folder "example_2_SimLab_E+8.3" from the "jEPlus_v1.6.3" package. From the manual online, I knew I need to specify the file to be "project.jep", job list in file "joblist.csv" , and set up the working dir to be ../output_ex2/. Now I am trying to run this simulaion in Matlab without GUI, because I have hundreds of "joblistxx.csv" intending to run in jEPlus. The following is my Matlab code to call jEPLus and run the example:

>>command = 'java -jar jEPlus.jar -job example_2-SimLab_E+v8.3/project.jep  -file joblist.csv -output ../output/';
>>[status, result] = system(command);

I expect the code would use the file "project.jep" and test the joblist "joblist.csv", then export result in output folder. But it does NOT work as I expected. Could you please help me out on how to set up to achieve my expectation?  


RE: Query regarding run jEPlus in Matlab - Yi - 03-12-2016

Dear Shana,

Thanks for your question. Here are the commands I have used in my test. It seems all working fine. So your command line may just need to include the path to joblist.csv.

Cheers,

Yi

====
>> cd 'D:\4\jEPlus_v1.6.3'
>> [status, result]=system('java -jar jEPlus.jar -job example_2-SimLab_E+v8.3/project.jep -file example_2-SimLab_E+v8.3/joblist5.csv -output ../out2/')

status =

0


result =

Validation successful:

2016-03-10 23:52:25,375 INFO [Thread-9] agent.EPlusAgent ( ) - Job case-001 started. 4 more to go!
2016-03-10 23:52:25,480 INFO [Thread-9] agent.EPlusAgent ( ) - Job case-002 started. 3 more to go!
2016-03-10 23:52:25,580 INFO [Thread-9] agent.EPlusAgent ( ) - Job case-003 started. 2 more to go!
2016-03-10 23:52:25,683 INFO [Thread-9] agent.EPlusAgent ( ) - Job case-004 started. 1 more to go!
2016-03-10 23:52:31,395 INFO [Thread-9] agent.EPlusAgent ( ) - Job case-005 started. 0 more to go!
2016-03-10 23:52:31,597 INFO [Thread-9] agent.EPlusAgent ( ) - Nearly there ...
2016-03-10 23:52:35,197 INFO [Thread-9] agent.EPlusAgent ( ) - Local batch simulation controller is FINISHED [Que=0, Run=0, Fin=5]
2016-03-10 23:52:35,197 INFO [Thread-9] agent.EPlusAgent ( ) - Local agent stopped.
2016-03-10 23:52:35,198 INFO [Thread-9] agent.EPlusAgent ( ) - Collecting results ...
2016-03-10 23:52:35,209 INFO [Thread-9] agent.EPlusAgent ( ) - Standard report collector collected 5 simulation reports in D:\4\jEPlus_v1.6.3\out2\RunTimes.csv
2016-03-10 23:52:35,212 INFO [Thread-9] agent.EPlusAgent ( ) - Standard report collector collected job index table in D:\4\jEPlus_v1.6.3\out2\SimJobIndex.csv
2016-03-10 23:52:35,494 INFO [Thread-9] agent.EPlusAgent ( ) - ESO result collector collected 10 rows of simulation results in SimResults.csv
2016-03-10 23:52:35,500 INFO [Thread-9] agent.EPlusAgent ( ) - Combined result table AllCombinedResults.csv is created.
2016-03-10 23:52:35,547 INFO [Thread-9] agent.EPlusAgent ( ) - Derivative result table AllDerivedResults.csv is created.
2016-03-10 23:52:35,548 INFO [Thread-9] agent.EPlusAgent ( ) - All done!
2016-03-10 23:52:35,548 INFO [Thread-9] agent.EPlusAgent ( ) - Simulation finished at: Thu, 10 Mar 2016 23:52:35
2016-03-10 23:52:35,548 INFO [Thread-9] agent.EPlusAgent ( ) - Total execution time = 10 seconds.

All jobs finished. jEPlus terminated normally.


>>
====