Click here to Skip to main content
15,919,500 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends,

I am new to matlab, and I wanted to integrate matlab to VC++ for my project.

Here my tasks are

1) how to assign x-label and y-label dynamically on to matlab graph from vc++. My code looks like this:

   Engine *ep;
ep = engOpen("");
    EngEvalString(ep, "xlabel('x-axis');");
    EngEvalString(ep, "ylabel('y-axis');");

x-axis internally consists of a string "Time" and y-axis internally consists of a string "Voltage". The string Voltage and Time changes for every selection and entered by the user from the VC++ GUI.

2) how to select particular columns from a text file and to plot on matlab.

Give some ideas to implement this:


Any help is appreciated
Posted
Updated 20-Jul-10 21:36pm
v2

1 solution

Matlab is a toy for students, if you want graphing in VC++, I suggest getting a real graphing library. If you want to use matlab, tons of tutorials exist on the web.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900