フィルターのクリア

Open specific format file outside MATLAB ?

9 ビュー (過去 30 日間)
Leo Zhai
Leo Zhai 2021 年 1 月 11 日
コメント済み: Leo Zhai 2021 年 1 月 12 日
When I double-click a .c file, it will be open by Matlab-editor, while I want it be open directly with external application (e.g. visual studio code),
(Tips: I know I could make it by 'Open Outside MATLAB')
Thanks!
  1 件のコメント
Stephen23
Stephen23 2021 年 1 月 11 日
編集済み: Stephen23 2021 年 1 月 11 日
"When I double-click a .c file, it will be open by Matlab-editor..."
Double-click where?
Are you double-clicking in the MATLAB IDE, or in your OS's explorer, or somewhere else?

サインインしてコメントする。

回答 (1 件)

KSSV
KSSV 2021 年 1 月 11 日
Right click on the C file...click on the "open with" and the choose "choose default program", after this selct your visula studio... this is not an MATLAB question eh.
  1 件のコメント
Leo Zhai
Leo Zhai 2021 年 1 月 12 日
Sorry, mabye I did not describe my question clearly.
  1. the default program for .c is already visual studio code(VSC), if I open a .c file direcly (double-click a .c file on my desktop) it is opened by VSC.
  2. I meant in the MATLAB interface, if I double-click a .c file on "Current Folder", it will be open with MATLAB editor instead of VSC. I want 'double-click a __fileName__' is equivalent to
winopen('__fileName__')

サインインしてコメントする。

カテゴリ

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