Is the function Spotlight going to be available for the symbolic math toolbox?
2 views (last 30 days)
Show older comments
Dear Sir/Madam, I am interested in the spotlight function, and I tried to make work the example 1 here: https://de.mathworks.com/help/symbolic/mupad_ref/plot-spotlight.html?s_tid=srchtitle
to see how spotlight works. The example does not work. The syntax is also strange. Can you provide some clarification?
Thank you in advance
0 Comments
Answers (2)
Steven Lord
on 29 Jun 2018
That function was intended to be used in MuPAD notebooks not in the MATLAB Command Window or in the Live Editor. I believe, based on a quick skimming of that documentation page, that the closest equivalents in MATLAB graphics are the light function and the other functions on this documentation page.
I don't know how easy it would be to convert calls to the plot::spotlight function to equivalent calls to light, camlight, lightangle, and/or lighting.
0 Comments
Luis
on 29 Jun 2018
Edited: Luis
on 29 Jun 2018
1 Comment
Steven Lord
on 29 Jun 2018
I recommend contacting Technical Support with more details about the specific lighting effects you were able to generate using plot::spotlight and how you attempted to reproduce that behavior using the lighting-related functions. Support may be able to suggest a way to achieve an equivalent effect or may enter your use case into the enhancement database.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!