Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Is it possible to change pyenv to a virtual machine running ROS?

조회 수: 1 (최근 30일)
nikolaj hansen
nikolaj hansen 2020년 10월 13일
마감: Rik 2020년 10월 26일
이 질문에 Cam Salzberger 님이 플래그를 지정함
Hi,
I am running Matlab on windows and want to run python scripts from a virtual ubuntu machine with ROS installed.
So far I have been able to run a python script on the virtual machine through Matlab by rosdevice() and then running a system() command through the device. But for some reason it runs python from the Matlab pyenv, where ROS is not installed.
Also I don't really want to run the system commands, since I just want to use load a python script with py.importlib.import_module(module), so that I can get store the python output in Matlab.
Any help will be amazing

답변 (0개)

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by