Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
It displays the unmatched brackets and the corresponding line numbers of the file.
If there is no unmatched brackets, it displays nothing.
Syntax : bracketmatch(fname)
The input fname should be a string of the file path and file name or just the file name if the file is in the same folder as the file bracketmatch.m
Please do not forget to include the quote symbol and file extension as input fname.
for example: bracketmatch('bracketmatch.m')
It displays: unmatched ')' at line: 12
Because the unmatched parenthesis is an ASCII char, and does not have a match.
The algorithm is from college level course Data Structure, chapter Stack.
Citation pour cette source
yi yang (2026). bracketmatch (https://fr.mathworks.com/matlabcentral/fileexchange/116865-bracketmatch), MATLAB Central File Exchange. Extrait(e) le .
Informations générales
- Version 1.0.0 (1,66 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0 |
