Get error using function "light"
1 次查看(过去 30 天)
显示 更早的评论
Hi, I'm using this code to create a light source that emanates light to all directions:
light('Position', [0 0 0], 'Style', 'local')
but I receive the following error:
Error using light
Too many input arguments.
Error in display_trans_3d (line 341)
light('Position', [0 0 0], 'Style', 'local')
Everything seems to be correct because I just copied and pasted the code from the Help. Can anyone please tell me what I'm missing? Thank you very much.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!