Call MATLAB from Google Colab
조회 수: 24 (최근 30일)
이전 댓글 표시
Hello there, Is it possible to used MATLAB commands from Google Colab (Jupiter on cloud)?
For example, I would like to call Risk Management Toolbox functions like bin(vbt, Name, Value), tbfi(vbt, Name, Value) or tuff(vbt, Name, Value) in Google Colab.
I tried without success
import matlab.engine
eng = matlab.engine.start_matlab()
댓글 수: 0
답변 (2개)
Yongjian Feng
2021년 8월 29일
This is the same as calling matlab from python, right? Can you call it from python first?
댓글 수: 2
Yoav Kahana
2022년 3월 15일
Hi,
I also want to use a matlab function in my colab's notebook, and have the same problem, as you mentioned.
Did you find any solution for that?
I would be very glad to know!
Yongjian Feng
2021년 8월 31일
Seems like you need to bridge it.
Your local PC and Google Colab shall be able to communicate using python, I imagine. Using HTTP server for example. Then using python in your local PC to call matlab. Then python in your local PC to communicate with Google Colab.
댓글 수: 0
참고 항목
카테고리
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!