I want to specify some lines so that I can assign a number to them and change the numbers.#And I want to know that when we write for example h=line(x,y) matlab will refer a number to it.Is this number unique? by which logic is it refers them?

 Accepted Answer

Fangjun Jiang
Fangjun Jiang on 7 Oct 2011

0 votes

The number returned for h when you run h=line(x,y) is called handle. The number is unique and may not be the same when run run it this time and next time. It is a unique ID.
Search for handle graphics in documentation for more details.

More Answers (0)

Categories

Find more on Vehicle Dynamics Blockset in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!