MATLAB Community

MATLAB, community & more

Results for: Editor

>> edit helloworld.m 5

Posted by Pradeep Ramamoorthy,

If you’ve been using MATLAB Mobile over the past years, you’ve been able to do command-line prototyping and run files on your computer or on the cloud. With the latest release of the app, you can now view and edit MATLAB (.m) files.... read more >>

Edit MATLAB Code for Simulink in the Editor 2

Posted by Michael Katz,

Since the long ago Ken days (circa 2009), the MATLAB Editor team and the Simulink Embedded MATLAB team have had an ongoing, under-the-covers project: integrating the Embedded MATLAB editor with the MATLAB Desktop Editor. In MATLAB R2011b and earlier, when you open a MATLAB Function block in Simulink, a separate... read more >>

Variable and Function Rename 12

Posted by Michael Katz,

The MATLAB R2011b feature that I’ve been most anticipating is the automatic rename in the Editor. Renaming functions and variables is a common operation for programmers. It’s useful for making code easier to read and understand. For example, I often start hacking together a script by using easy-to-type names like... read more >>

The Go To Dialog 2

Posted by Michael Katz,

Over the weekend, reader “mnasr14” reminded me with a comment on an old post about the oft-overlooked Go To… dialog in the Editor. The Go To… dialog provides a quick way to jump to a point in an open Editor document by line number, function name, or cell title. ... read more >>

Highlighting Global and Persistent Variables

Posted by Michael Katz,

In R2010b we started highlighting non-local variables in light blue. Non-local variables are variables that are used in at least two functions that share scope. For example, a variable used both in a nested function and its parent function. We had a lot of feedback from users that when non-local... read more >>

Demo’ing Scripts With ECHODEMO 1

Posted by Michael Katz,

Scripting files in Cell Mode has plenty of benefits. In addition to code organization, rapid iteration, and publishing, cell mode can also be used to present cell-by-cell interactive demonstrations.... read more >>