Sending output from instance to another instance to compute.

So I have very basic knowledge of matlab and have come across an issue. I have a graph set up where I can get different outputs (x and y) depending where I click on it. I would like that to be running that in one window and on the other window, I'd like for the x and y to be changing within a while loop so I get different functions activated. Does that make sense? And if so, is that possible to do?
Example
Instance 1
function... x = y =
---------
Instance 2
while true
if x>0 && y>0
function A
elseif x<0 && y<0
function B
end

Answers (0)

This question is closed.

Asked:

on 26 Feb 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!