From: Ashley on
Greetings,

I am trying to write a function that runs till END=1; such that END=1 is caused by choosing the hyperlink: 'End'. However, I can not figure out a method of do this. Below is the simple code that I have been working with.

Can this be done? How?
Am I simply going about this is the wrong fashion?

END=0;
action='ACTIONS';

while END==0

if strcmp(action,'ACTIONS')

fprintf('ACTIONS:\n')

disp('<a href="matlab: action=''HELP''">Help</a>')
disp('<a href="matlab: action=''END''">End</a>')


end

if strcmp(action,'END')
clc
disp('End ');
END=1;
end
end

Thank you for your time,
Ashley Whitney-Rawls