How to use plot::Cone

7 views (last 30 days)
Amin Kassab-Bachi
Amin Kassab-Bachi on 28 Mar 2017
Commented: Amin Kassab-Bachi on 28 Mar 2017
I'm trying to use the "plot::Cone" command, and although i'm following the exact syntax as detailed in the Help (please see the image below), I keep getting "Error: Unexpected MATLAB operator." and I don't know what's wrong!

Answers (1)

Steven Lord
Steven Lord on 28 Mar 2017
According to the documentation this function is intended to be used only in a MuPAD notebook, not at the MATLAB command prompt or directly in a MATLAB program file.
I tried the instructions for how to convert a MuPAD notebook containing this command to a Live Script but it wasn't able to translate the command to something MATLAB knows how to execute.
  1 Comment
Amin Kassab-Bachi
Amin Kassab-Bachi on 28 Mar 2017
oooh, OK. Thanks a lot. I didn't even know what MuPAD is! So, do you know of any other way to do a similar thing directly in MATLAB?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by