Is it possible to start MATLAB Drive from a startup script

1 回表示 (過去 30 日間)
James Mulhern
James Mulhern 2022 年 3 月 14 日
回答済み: Gareth 2022 年 3 月 16 日
I do not want MATLAB Drive running the the background of my machine all the time and as a result I was hoping to start MATLAB Drive from my startup.m script. Is there a way that I can do this. Looking at the documentation I do not think there is a built in command in MATLAB.
Is there a way to run windows commands from the startup script?
Are there commands to stop and start MATLAB Drive on windows like there is on linux?
Thanks.

回答 (1 件)

Gareth
Gareth 2022 年 3 月 16 日
Hi James,
While there's not a supported command that you can use to start or stop MATLAB Drive Connector on Windows, a possible solution for you could be to just click the MATLAB Drive button when you start MATLAB. That same help link also details the pause/resume functionality of MATLAB Drive Connector which you could use to stop and restart the application from synchronizing your files according to your needs.
Does that help for your workflow?
Best wishes,
Gareth

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by