Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Sending output from instance to another instance to compute.

1 view (last 30 days)
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.

Community Treasure Hunt

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

Start Hunting!