Call and Run External software [ jEplus.jar ] from MATLAB
4 views (last 30 days)
Show older comments
Hi everybody:
jEplus.jar tool is a simulation tool which its output results is in (.csv =or excle).Now i want to Call jEplus.jar from matlab to run jEplus.jar tool to give us output(.csv) automaticly,Not running jEplus.jar by hand.I Try alot,But Unfortunately,I Couldn't do it.any idea??Help me please?? Thanks ALL
0 Comments
Answers (1)
Pooya Darghiasi
on 3 Jan 2020
Edited: Image Analyst
on 3 Jan 2020
You can run jEPlus from a Windows command prompt with some predefined commands available in the jEPlus manual. Technically, you will be able to modify the input file, or import it from a csv file, and run the jEPlus commands all with command prompts. In order to control the software from MATLAB you use "system" function. What the system() function does is to get the command in MATLAB and run it in a command prompt. So simply just write the command in the "system" function of MATLAB. Then what happens is that jEPus would be run and it will save the results in the output folder in a csv file. You would be able to read the output csv results file with MATLAB's csvread() function.
0 Comments
See Also
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!