Enable open file with matlab desktop file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
matlab-support (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
At the moment it is not possible to open a file in Matlab directly by clicking on it in Nautilus, because Matlab isn't part of the list of applications which can open files when you right click Properties -> Open with.
It appears Unity only lists applications which have "%f" as part of the Exec line in desktop files. If would be awesome if you changed the matlab.desktop file to
Exec=matlab -desktop -r "edit %f"
That would add Matlab to the programs Unity thinks can open files and thus enable users to associate .m files with Matlab.
This is even more important as Unity dropped the support of adding custom commands to open files, which means that it's pretty hard for a novice to figure out how to open .m files in Matlab since solutions like this one won't work any more:
http://
I'm using version matlab-support 0.0.19 on Ubuntu 14.04.
The current workaround is to manually edit /usr/share/
Status changed to 'Confirmed' because the bug affects multiple users.