what does :: mean and why is it not recognized by MatLab

6 visualizaciones (últimos 30 días)
Robert Newcomb
Robert Newcomb el 27 de Jul. de 2017
Comentada: John BG el 30 de Jul. de 2017
This is in plot::SurfaceSTL

Respuestas (2)

Stephen23
Stephen23 el 27 de Jul. de 2017
Editada: Stephen23 el 27 de Jul. de 2017
The :: indicates that it is NOT a MATLAB command, but is used in MuPAD (the symbolic math engine):

Steven Lord
Steven Lord el 27 de Jul. de 2017
Functions whose names include :: like plot::SurfaceSTL, or those whose documentation pages include a warning note like the one at the top of the plot::SurfaceSTL documentation page, are intended to be used in a MuPAD Notebook or using feval in conjunction with symengine. They are not intended to be called directly from the MATLAB command prompt or inside a MATLAB function.
  2 comentarios
Walter Roberson
Walter Roberson el 27 de Jul. de 2017
evalin(symengine) can also be used
John BG
John BG el 30 de Jul. de 2017
I completely agree with Mr Roberson. I like command evalin, very powerful, it enables dynamic generation of code, code that writes code.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by