why did the "text" function stop working while creating a new section in my live data

8 vues (au cours des 30 derniers jours)
Madeline
Madeline le 25 Sep 2023
Modifié(e) : John D'Errico le 25 Sep 2023
in live editor, while running data sets and creating sections for different variables, the text function key was working but now is not working

Réponses (1)

John D'Errico
John D'Errico le 25 Sep 2023
Modifié(e) : John D'Errico le 25 Sep 2023
Whenever a function "stops working" you need to see if you have created a variable named text, or another function or script by that name. If you did any of those things, rename them to something else, that is NOT already used by a useful MATLAB function.
You can check for that by the following command:
which text -all
built-in (/MATLAB/toolbox/matlab/graphics/primitive/text)
The point being, functions just don't stop working, unless you did something to make that happen.
If, by "stopped working" you meant something else, then you need to explain what error you now get.

Catégories

En savoir plus sur Entering Commands dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by