open software and run script via command line
조회 수: 1 (최근 30일)
이전 댓글 표시
My code should:
- open MakeHuman software in background
- run a python script
- software has to stay open while matlab code continues to run
path_local_script = 'C:\Users\...\Documents\makehuman\v1py3\scripts\read_BVHpose.py'
command = ['C:\Users\...\AppData\Local\makehuman-community\Python\pythonw.exe ' 'C:\Users\ruetschj\AppData\Local\makehuman-community\mhstartwrapper.py' ' -b ' '--python ' path_local_script ];
system(command);
However, the MakeHuman software is starting, but neither the 'path_local_script' script is run, nor the code goes on afterwards.
What am I doing wrong? Is it not possible to run a script as I'm running MakeHuman from source?
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!