Call MATLAB from Google Colab
84 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (2)
Yongjian Feng
el 29 de Ag. de 2021
This is the same as calling matlab from python, right? Can you call it from python first?
2 comentarios
Yoav Kahana
el 15 de Mzo. de 2022
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
el 31 de Ag. de 2021
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 comentarios
Ver también
Categorías
Más información sobre Call Python from MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!