How do I load graph automatically based on the data selected?

2 views (last 30 days)
I've a problem to display a graph in the axes based on the data selected. I have a 'push button' function, then when I click on it the location of data selected will be shown in edit text. The problem is I've push button function named 'Analysis' and when I click on it, the graph won't displayed. So what I do is I used this code to display the graph in Analysis button:
sig = load('example of data.txt');
plot(sig)
grid on
hold on
plot(sig,'ro')
But I got a lot of data and I want it to read from the data selected in edit text function.
Thank you in advance for any help

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!