Call MATLAB from Google Colab
显示 更早的评论
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()
回答(4 个)
Yongjian Feng
2021-8-29
0 个投票
This is the same as calling matlab from python, right? Can you call it from python first?
2 个评论
Alejandro Cermeño
2021-8-30
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
0 个投票
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.
Mike Croucher
2025-6-27
0 个投票
Yes, you can but its a bit experimental at the moment. Using MATLAB on Google Colab » The MATLAB Blog - MATLAB & Simulink
Yann Debray
2025-6-30
编辑:Yann Debray
2025-6-30
0 个投票
I recorded a demo that might help you discover the capabilities of running MATLAB on Google Colab
This is newly possible (since Jun 24th 2025) as Google announced the Colab Terminal Is Now Free For All Users
类别
在 帮助中心 和 File Exchange 中查找有关 Web Map Service 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!