The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: input prompt for functions
Replies: 3   Last Post: Dec 30, 2011 10:07 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Jim Hokanson

Posts: 14
Registered: 1/27/11
Re: input prompt for functions
Posted: Nov 22, 2011 5:55 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Thanks for the reply. There are a few issues I have with that, some perhaps more valid with others. It also appears I need to clarify my question ....

Let's say you want to use the plot function, you get started and enter:

Now, IF YOU WAIT A WHILE, a tip window will come up letting you know that you know various ways of entering the inputs for plot.

for example you'd see the following lines

As you type, options that don't fit drop out. In general for user created files there is usually only one line, which is literally the display of the function declaration line.

i.e if I have something like this:
function myFunction(height,weight)

The prompt would show up as:

Help has the potential advantage of pulling out more potential forms of the input, ASSUMING things have been documented properly. This however requires you to change cursor location to being over the function, as opposed to something that allows you to keep typing.

Ideally there would be a solution in which you have literally typed:


and then using some key you get the prompt reminding you that the second input to that function is weight. The important point is that the functionality is there, however it disappears if you move your cursor away and come back or tab complete a variable name. Also, it never shows up if you start typing the inputs to the function before the prompt appears (only to realize you don't know all of the necessary inputs).

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.