필터 지우기
필터 지우기

Can you add new matlab script to windows 10 context menu?

조회 수: 6 (최근 30일)
Kevin D'silva
Kevin D'silva 2020년 8월 26일
답변: Shubham Khatri 2020년 9월 4일
When you right click in a folder and go to new, it would be very useful if we could create a new Matlab script.
I was able to set windows registry keys to open matlab from the right click context menu, but this just opens another instance of matlab, if matlab is already running.
I want it to just create a script, like you can do for a text document. Would be really useful. Any clues?
  댓글 수: 3
Peter
Peter 2020년 8월 31일
I'm trying to do the same thing. Can you explain how you did this?
Kevin D'silva
Kevin D'silva 2020년 8월 31일
so go to your registry editor. firstly make up a back up of your registry because its just better if you do.
go to file->export and save a back up
then navigate to Computer\HKEY_CLASSES_ROOT\.m
right click on the .m folder and go to new->key
name it "ShellNew" without the quotes
right click on ShellNew and add a new string value, name this "NullFile" without the quotes
change the NullFile value to 1.
and that worked for me! Let me know if it works for you as well

댓글을 달려면 로그인하십시오.

답변 (1개)

Shubham Khatri
Shubham Khatri 2020년 9월 4일
As you have mentioned, one way to do this is by adding a registry by following the above-mentioned steps. Another way is to merge the registry file attached with this answer. Both the operations will perform the same function. Make sure to create a backup before merging the registry.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by