Bug with external editor - How to override opentoline - Matlab 2011b - Open file to line in external application
Show older comments
Hi
In preferences/Editor, I set up an external editor command for use with vim. Running "edit Filename" opens the desired editor. Yet, with Matlab R2011b on Linux, by clicking on a "error link with specific line" in the command windows it opens a matlab editor instead of the external editor. Hovering the mouse over this link displays: "matlab: opentoline('...',xx,xx)" in the taskbar.
In previous versions (e.g. R2010b) I used to override the function "opentoline.m" by putting a different version in my own path. In matlab R2011b on Linux, it seems the script "opentoline.m" is not called anymore, though still present within the matlab folder: /toolbox/matlab/codetools/.
Thank you for your help.
Accepted Answer
More Answers (0)
Categories
Find more on Environment and Settings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!