04-27-2012 06:19 PM
slt tout le monde,j'essaie de développé un programme avec labview permet d'afficher un signal ecg, ce dernier va être traiter avec un script matlab donné,,
les entrés de ce scripte sont deux variable x et y correspondent aux amplitude et temps,le problème qui s'oppose c'est que matlab ne connait pas ces deux variables.comment faire??est ce qu'on peut les déclarer comme deux vecteurs enregistrer dans un registre ou mémoire non dans un fichier . dat
04-27-2012 06:23 PM
Hi everyone, I'm trying to develop a program with labview displays anECG signal, it will be treated with a matlab script given,
entries in this script are two variables x and y correspond to theamplitude and time, the problem that is opposed is that matlab does not know these two variables.comment do?? is what may be reported as two vectors record in a register or memory not a file. dat
04-30-2012 01:25 PM
Hey elmhamdi,
You can find some examples of using the MATLAB® script node in the LabVIEW Example Finder. In LabVIEW, if you go to Help>> Find Examples and then search for MATLAB®, you will some examples that use the MATLAB® script node.
If you want to add an input or output to the node, you will want to right click on the grey border of the node and select Add Input. You should be able to declare the variables in the script as well just as you would if you were writing a .m file on your own.
Hope this helps!
Joe S
Applications Engineer
National Instruments
MATLAB® is a registered trademark of The MathWorks, Inc. Other product and company names listed are trademarks and trade names of their respective companies.