Azzera filtri
Azzera filtri

Why are cells not highlighted correctly when the text in the MATLAB Editor contains a syntax error?

1 visualizzazione (ultimi 30 giorni)

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 21 Gen 2010
If the text contains syntax errors, the editor in MATLAB 7.6 (R2008a) is not accurately able to determine cell locations. This behavior can manifest in two ways.
1. If a file containing a syntax error is opened in the editor, no cell locations will be displayed until the syntax error is fixed.
2. If a syntax error is introduced into a file with existing cells, the existing cell locations will track insertions and deletions in the document, but new cells will not be recognized until the syntax error is fixed. Furthermore, it is possible that the document changes will invalidate the old cell locations which are being displayed.
Use the M-Lint utility to find and fix syntax errors to restore correct cell behavior.

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Help Center e File Exchange

Tag

Prodotti


Release

R2008a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by