AnsweredAssumed Answered

vrf Matlab

Question asked by martinorosin on Dec 14, 2005
Latest reply on Jan 3, 2018 by hudla
Michael,
      you can use your own written matlab code in .m files in VEE matlab
script.

You need to have a matlab registered version installed in the same computer
where you use VEE.
Then you must check the combination of the versions of VEE and matlab (in
the agilent web site there is a table showing the allowed combination for
this purposes.
Then you must put the .m file (e.g. average) in a folder which is in the
path o the matlab version you're using (which you set in Matlab: File -->
Set path ...).

The first time you launch the matlab VEE script you should see that VEE
will register your matlab version as the engine to execute the matlab
scripts in VEE and finally everything should works.

But, be careful on the versions pairs allowed !.

Bye,
Martino

-------------------------------------------------------------------------------------------------


Ing. MARTINO ROSIN
Calearo Antenne SpA
ISOLA VICENTINA (VI) - Italy
E-mail: martinorosin@calearo.com

-----Original Message-----
From: ext-michael.simon@nokia.com [mailto:ext-michael.simon@nokia.com]
Sent: Wednesday, December 14, 2005 7:00 AM
To: VRF
Subject: [vrf] Matlab

Hello,

I have a question concerning the Matlab script:

How can I use functions in Matlab? I want to define a function in a
.m-file
(e.g. function y = average(x) .....in average.m) and I want to load this
function somehow into my Matlab script in Vee and use it like: a=
average(vect).
I couldn't find out how to load a .m-file into Matlab script. Also it was
not able to define the function in the script, because the codeword
"function" gives an error message.

Does anybody know more about this?

Michael




---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

Outcomes