Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iFunc: create a linkdata method #183

Open
farhi opened this issue Feb 6, 2019 · 1 comment
Open

iFunc: create a linkdata method #183

farhi opened this issue Feb 6, 2019 · 1 comment

Comments

@farhi
Copy link
Contributor

farhi commented Feb 6, 2019

Create a linkdata method:

  • linkdata(model, fig/handle)

when no fig/handle, a new plot figure is created, as well as a uitable for parameters.
The model should have a new Handle(s) property.
The handle can also be a uitable, to link with a Parameter Window, which must then store a handle to the original model.

The plot will be updated when:

  • new feval
  • new parameter value, which should trigger a new feval
  • new Constraint, which should trigger a new feval

The uitable can be modified, and then the model follows. This then triggers refresh of any links plot.
The model can be modified and then the uitable and plot follow.

The plot update must be executed only after a given time when the object has not been modified in between (to avoid many parameter updates which would all trigger a new plot/feval).

  • linkdata(model, [])

should remove links.

@farhi
Copy link
Contributor Author

farhi commented Feb 7, 2019

This depends on #184 to allow 'soft' links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant