Is the function Spotlight going to be available for the symbolic math toolbox?

2 次查看(过去 30 天)
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

回答(2 个)

Steven Lord
Steven Lord 2018-6-29
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.

Luis
Luis 2018-6-29
编辑:Luis 2018-6-29
Unfortunately, the current MATLAB light function does not generate the same light effect.
  1 个评论
Steven Lord
Steven Lord 2018-6-29
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.

请先登录,再进行评论。

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by