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

in live editor, while running data sets and creating sections for different variables, the text function key was working but now is not working

回答 (1 件)

John D'Errico
John D'Errico 2023 年 9 月 25 日
編集済み: John D'Errico 2023 年 9 月 25 日
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.

カテゴリ

質問済み:

2023 年 9 月 25 日

編集済み:

2023 年 9 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by