Community Profile

photo

Jared MacDonald

MathWorks

Last seen: 11 days ago Active since 2012

Statistics

All
  • Revival Level 3
  • Knowledgeable Level 2
  • 3 Month Streak
  • First Review
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
How to clear a specific piece of output in a Live Script?
Just to add, there is indeed a "Clear Output" right-click menu for outputs, in addition to "Clear All Output", which sounds like...

7 months ago | 1

Answered
How can I add footer in Live Script?
Hi Ramazan, there's no support for footers yet in live scripts. I've made a note of your suggestion, though.

8 months ago | 0

Answered
Life Scripts from Latex Impoert
Hi Ingo, Currently it is not possible to import a .tex file into MATLAB. Code could be written to do so but I don't know of any...

8 months ago | 1

| accepted

Answered
Auto Scrolling in LiveScript output
Hi Mason, You can turn this off by right-clicking in the outputs area and selecting "Disable Synchronous Scrolling": Jared

8 months ago | 0

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1 year ago

Answered
live script inline plot
Hi Aline, I looked at your file but it wasn't clear what was different from what you were expecting. If you were expecting the s...

1 year ago | 0

Answered
Live Script versus Jupyter Notebook
From this MATLAB Answer: The Live Editor provides a new way to develop code for exploratory programming, to create an interacti...

1 year ago | 0

| accepted

Answered
Can sections be skipped with something similar to "return" or "continue"?
Hi Steeven, There is currently no way to skip a section other than writing a conditional. This is an intriguing suggestion, tho...

1 year ago | 0

Answered
Re-accessing arrays from live scripts
Hi ohmstead, Currently, live scripts do not restore the variables into the workspace when you open them. You must re-run the s...

1 year ago | 0

Answered
Pasting large code without forced wrapping
MATLAB does not do this. Presumably Mathematica is putting it onto the clipboard this way. You can confirm this as Rik notes by ...

1 year ago | 0

Answered
Matlab App Designer editor is very slow
Hi Robin, If possible, please update to release R2020a where this has been significantly improved. You can read more details i...

1 year ago | 0

Answered
How do I stop the editor from automatically creating a file that doesn't exist?
Hi Bill, Go to Preferences > General > Confirmation Dialogs, and ensure that "Prompt when editing files that do not exist" is s...

1 year ago | 0

| accepted

Answered
live scripts and messages
Hi Nick, You can animate plots in the Live Editor if you are using R2019b or later. Please see the release notes for more infor...

1 year ago | 1

Answered
live scripts and messages
Hi Nick, You can animate plots in the Live Editor if you are using R2019b or later. Please see the release notes for more infor...

1 year ago | 1

Answered
MATLAB live script freezes often
Hi Everett, This is a known issue that has been fixed in R2019b. Please see "stability" in this release note: https://www.math...

1 year ago | 0

Answered
excessive print stream output whe editing GUI elements and using live scripts
Hi Philipp, This is a known issue which has been fixed in R2019b. The issue related to the underlying browser technology that L...

1 year ago | 1

Answered
script file vs live script file
Hi Osama, This documentation page gives a good introduction: https://www.mathworks.com/help/matlab/matlab_prog/what-is-a-live-s...

1 year ago | 1

Answered
Matlab editor doubt - edit running code
Hi Harish, We have heard this pain from others and will fix this in an upcoming release. The short reason is that the action of...

1 year ago | 0

Answered
Can I save mlx-data from the live editor to latex output?
UPDATE: As of release R2017b, you can export live scripts to LaTeX directly by choosing "Export to LaTeX" from the Save dropdown...

1 year ago | 0

Answered
Manjaro Live Scripts Error
Hi Felix, ArchLinux is not an officially supported platform, but have you upgraded to R2019b or later since asking this questio...

1 year ago | 0

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

3 years ago

Answered
Suppress command window output in matlab live editor in 2016a
Hi Aditya, This is by design in the Live Editor, which captures all output - plots and textual output - within the document. ...

5 years ago | 0

Answered
Matlab Live Editor code hangs ?
Hi Timo, The code works OK in the Live Editor for me. Here's a screenshot of what I get: <</matlabcentral/answers/uploaded...

5 years ago | 0

| accepted

Answered
JX Chromium hangs in live editor
Hi Timo, Please submit your issue to <http://www.mathworks.com/support/contact_us/ MathWorks tech support> so we can gather a...

5 years ago | 0

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

8 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

8 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

8 years ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

8 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

9 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

9 years ago

Load more