In Rstudio you can run the code of the current line by pressing Ctrl+Enter. In octave (I'm using 8.3.0) you can do something similar by highlighting the text and then press F9, but is there a way to do this in a single button instead of having to reach my mouse or use other shortcut keys to highlight the text first?
Is there any way of runnning a line of code in octave without highlighting it?
67 views Asked by sirlimonada At
1
There are 1 answers
Related Questions in OCTAVE
- How to make faster vecnorm to a 3D array
- Why am I unable to properly combine these figures?
- How do I get rid of unnecessary information in the Octave command line?
- Iterating the rms-function through numbered variables
- Create non blocking sockets in Octave
- Parse error not understandable in this code
- Octave GUI 8.4.0 starts always with powershell window (Windows 11, Admin rights)
- Octave: Boolean AND returns wrong number
- Zooming in/out on subplots in Octave
- Creating a density plot out of a large matrix in octave
- control arrowhead in Octave phasor plot
- Error installing package in Octave Portable on Windows 10
- Difference between these two cell array syntaxes?
- octave-cli 8.4.0 does not recognize qt graphics toolkit
- warning: function name 'newsqrt' does not agree with function filename '/tmp/main.m' in Octave
Related Questions in OCTAVE-GUI
- Parse error not understandable in this code
- Octave: Boolean AND returns wrong number
- Zooming in/out on subplots in Octave
- Creating a density plot out of a large matrix in octave
- Error installing package in Octave Portable on Windows 10
- Print a pdf plot in Octave
- How can I use Octave to return a specific x-axis value given a specific y-axis value?
- Octave crashes running a script that used to run with no issues
- Issues while trying to solve Octave problems
- Speeding up findpeaks in octave using parallel computing
- How to display the frequency of a number in a matrix as a histogram?
- Is there any way of runnning a line of code in octave without highlighting it?
- How to enable automatic closure of brackets in GNU Octave?
- Error when using the polar function in Octave: Too many inputs
- How to change the title position in Octave Plot?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Unfortunately Octave does not have this feature. As you said, you can run a highlighted code block using
F9. If you are currently in debug mode, you can run the current line of code that you are paused on with the F10 key (or use the Step button or menu option). But there is no current method to just run the full line of code at the current cursor location in the editor window, which I believe is the feature you're requesting. This would be an interesting feature that some might find valuable in their workflows. Identifying a key or key combination that wouldn't collide with other functions might require some thought. PerhapsCTRL-F9or similar would work. I would encourage you to create a Feature Request report over at bugs.octave.org. It might not be a high priority request, but if it gains enough interest there's a possibility someone would pick it up to implement. If you do so, please link back the bug report to this question.