Can I call .m files from a LabVIEW executable without the full developmen​t version of matlab installed?

I have an executable that I am trying to build (and distribute).  Right now, it has Matlab script nodes that call some matlab .m scripts that someone else wrote.  The target PC will not have the full development version of Matlab installed.  Would that work?  I have tried to compile the .m scripts into a DLL, but I can't import that to LabVIEW because of the special Matlab types (*mxArrays).  I have also tried to write a wrapper around that DLL, but with no success.  So now I'm wondering if I can either call the Matlab .m scripts directly from a Matlab Script node OR if I can call my Matlab DLL from within a script node.  OR any other idea someone might have...
Thanks a lot!
-Matt Bradley
************ kudos always appreciated, but only when deserved **************************

Simon,
I looked at MathScript and am considering using it, but one thing that is not clear to me is if I will be able to use my .m files like I can with Matlab.  I call the same Matlab script repeatedly and it keeps track of some information in global variables (for example, the number of consecutive detections).  Can I do that entirely within mathscript or would I have to reload all of the info each time -- if I had to do that, it would mean substantial changes to the .m files ... and that's not an option.
-Matt
-Matt Bradley
************ kudos always appreciated, but only when deserved **************************

Similar Messages

  • How can i print my files from mi iphone 5 throught the airport express?

    How can i print my files from mi iphone 5 throught the airport express?? i have the last iOS version installed and also the last firmware version of the printer. the printer is already connected to the USB airport express and when i look for printers in airprinter there is no printer found. i have an HP LASERJET P1606dn(i think that is supported by the airprinter).

    In order to function with AirPrint, a printer must connect to the network wirelessly.
    Even if you have an AirPrint compatible printer, iOS devices will not be able to print to the printer when it is connected via USB.
    So, you have two options:
    1) Reconfigure the printer to connect to the network using wireless only and the iOS devices should be able to print that way....assuming that you have up to date drivers for the printer installed.
    2) Leave the printer connected via USB and then use a third party App like Printopia installed on your Mac as a "workaround" to (hopefully) allow the iOS to device to be able to print.  If you want to give this a try, there is a free trial for Printopia, so you will know if it will work before you buy. You must have a Mac running on the network in order for Printopia to function correctly.
    Printopia - AirPrint to Any Printer - Print from iPad - Print from iPhone ...

  • Can't open PDF file from iBook on MAC. error "The application "ACDSee Pro" can't be opened."

    Can't open PDF file from iBook on MAC. error "The application “ACDSee Pro” can’t be opened."

    Hi arewers,
    Do you have Adobe Reader installed, by any chance? If so, are you aware if it was the PPC or Intel version which you installed? In any case, for the time being, have a quick look in 'HD/Library/Internet Plug-ins/' using Finder and see if there's an Adobe plugin lying around. If there is, try moving it out of the folder and restarting Safari.
    Yang

  • I have a LAbview 8.6, and i can´t open a file from a Labview 5.1.1

                 Hi,
                 When i try to open a file(a driver to an OSA from Agilent) appears a error message, saying that the source´s version is too old(5.1.1), when my labview is 8.6.
                 Anybody knows something about it?
                 Thanks a lot.
    Solved!
    Go to Solution.
    Attachments:
    ag8614x.zip ‏2795 KB

    carlosmayer wrote:
                            By the way, I am with the same problem again. If anybody has time and a version of Labview able to do this, I would be very grateful. The link is below.
    The manufacturer's web site has a newer version of the driver for that instrument. It's not written all that well, but at least it uses VISA, unlike the VI you uploaded, which uses old GPIB functions. The library the manufacturer provides is in 5.1, which unfortunately you still cannot open in 8.6. Attached is the library in 8.2. For what it's worth, the VI you uploaded in 8.2 is also attached. 
    Attachments:
    tslv01ae.vi ‏89 KB
    Tsl-210.zip ‏197 KB

  • HT201250 can I back up files from one hard drive to the other hd using time machine?

    I would like to back up my files automatically from one hard drive to another skipping the computer backup. If anyone knows anything on how to set it up, I would like your help
    Thanks!
    Ruta

    If you want to copy one external disk to another external disk, and you want an exact copy, then you might consider Carbon Copy Cloner or SuperDuper.  Either of which will make an exact duplicate of the disk.
    If you wish to have Time Machine include an external disk as part of your normal Time Machine backups, that means just including the external disk as part of your Time Machine backups.
    If you mean run a One-Off backup of the external drive to another external drive using Time Machine, I would go with CCC or SuperDuper.
    If you could give some more details about what you are trying to do, how often you want to do this, what kind of information is on the drive being backed up, how often the data is being changed and thus how often you want to do this disk to disk backup, whether you want to have the incremental backups offered by Time Machine, or if you just want a copy, and anything else you can think to tell us about your situation and the problem you are trying to solve.

  • Can`t transfer big files from MUVO2 to

    Hi
    I can`t transfer big files from MUVO2 to PC. The other Way it is possible but I cant get them back on my Harddisk. Whats going on?
    Greetz
    Schweijk

    I have forget to say that a Error Message appears : Datei kann nicht ?bertragen werden: falscher Parameter. ( File can not be transported: Wrong Parameter ) Then i loose connection to MUVO2
    greetz
    SchweijkMessage Edited by josefschweijk on 05-05-2005 07:24 PM

  • Run labview executable without installing

    Hi
    We need t run a LabVIEW executable without the need to install the runtime engine first.
    In fact we use a LabVIEW program to distribute LabVIEW within our company.
    We add our own library and a special license request form and make it possible to install a LabVIEW development environment
    with only the push of one button.
    In LV8.2 however this no longer works. First the runtime environment has to be installed before we can run our LabVIEW application.
    Previous LabVIEW versions worked OK.
    Are we missing an option in the installer somewhere or can somebody show the way to make this work again otherwise we have to keep 8.01 until infinity....
    greetings from the Netherlands

    Hi Albert,
    Long time no see... Perhaps at the user group meting okt. 5?
    We (Andre) did some experiments with this just last week. He copied everything from the normal installation directory (program files) runtime directory to a new directory on a clean PC. In the same directory he put an executable, and it did run properly (although I think he also copied the models directory to get proper control images).
    Only thing is that at the startup of the exe, we get a dialog "Installing...". Still working on that. This might even work from a CD...
    He made a big effort to remove all previous LabVIEW stuff, but to be honest, we didn't try it on a completelly "clean" system.
    Regards,
    Wiebe.
    "Albert Geven" <[email protected]> wrote in message news:[email protected]..
    Hi We need t run a LabVIEW executable without the need to install the runtime engine first.In fact we use a LabVIEW program to distribute LabVIEW within our company.We add our own library and a special license request form and make it possible to install a LabVIEW development environmentwith only the push of one button.In LV8.2 however this no longer works. First the runtime environment has to be installed before we can run our LabVIEW application.Previous LabVIEW versions worked OK.Are we missing an option in the installer somewhere or can somebody show the way to make this work again otherwise we have to keep 8.01 until infinity....

  • How can I read pdf files from LabVIEW with different versions of Acrobat reader?

    How can I read pdf files from LabVIEW with different versions of Acrobat reader?
    I have made a LabVIEW program where I have possibility to read a PDF document.  When I made this LabVIEW program it was Acrobat Reader 5.0.5 that was installed on the PC. Lather when the Acrobat Reader was upgraded to version 6.0, there was an error when VI tries to launch the LabVIEW program. And Later again when we upgraded to Acrobat Reader 7.0.5 I must again do some changes and rebuild the EXE files again
    It isn't so very big job to do the changes in one single LabVIEW program, but we have built a lot of LabVIEW programs so this take time to due changes every time vi update Acrobat Reader. (We have build EXE files.)
    The job is to right click the ActiveX container and Click "Insert ActiveX Object", then I can brows the computer for the new version of acrobat Reader. After this I must rebuild all the "methods" in the Activex call to make the VI executable again.
    Is there a way to build LabVIEW program so I don't have to do this job every time we update Acrobat Reader?
    This LabVIEW program is written in LabVIEW 6.1, but I se the problem is the same in LabVIEW 8.2.
    Jan Inge Gustavsen
    Attachments:
    Show PDF-file - Adobe Reader 7-0-5 - LV61.vi ‏43 KB
    Read PDF file.jpg ‏201 KB
    Show PDF-file - Adobe Reader 5-0-5 - LV61.vi ‏42 KB

    hi there
    try the vi
    ..vi.lib\platform\browser.llb\Open Acrobat Document.vi
    it uses DDE or the command line to run an external application (e.g. Adobe Acrobat)
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • Can I call a function from a dll in LabVIEW that returns:double*string and int.?

    I have a function from a dll that return a double* string and an integer. How can I call this function from LabVIEW? There is a possibility to work in LabVIEW with a double* string?

    pcbv wrote:
    > Hello all,<br><br>The header of the function is:
    >
    > "HRESULT WRAPIEnumerateDevices(WRAPI_NDIS_DEVICE **ppDeviceList, long *plItems);"
    >
    > where WRAPI_NDIS_DEVICE have this form:
    >
    > typedef struct WRAPI_NDIS_DEVICE<br>{<br>
    > WCHAR *pDeviceName;<br>
    > WCHAR *pDeviceDescription;<br><br>}
    > WRAPI_NDIS_DEVICE;<br><br>
    >
    > The function is from WRAPI.dll, used for communication with wireless card.
    > For my application I need to call in LabVIEW this function.
    Two difficulties I can see with this.
    First the application seems to allocate the array of references
    internally and return a pointer to that array. In that case there must
    be another function which then deallocates that array again.
    Then you would need to setup the function call to have a pointer to an
    int32 number for the deviceList parameter and another pointer to int32
    one for the plItems parameter.
    Then create another function in your DLL similar to this:
    HRESULT WRAPIEnumExtractDevice(WRAPI_NDIS_DEVICE *lpDeviceList, long i,
    CHAR lpszDeviceName, LONG lenDeviceName,
    CHAR lpszDeviceDesc, LONG lenDeviceDesc)
    if (!lpDeviceList)
    return ERROR_INV_PARAMETER;
    if (lpDeviceList[i].pDeviceName)
    WideCharToMultiByte(CP_ACP, 0,
    pDeviceList[i].pDeviceName, -1,
    lpszDeviceName, lenDeviceName,
    NULL, NULL);
    if (lpDeviceList[i].pDeviceName)
    WideCharToMultiByte(CP_ACP, 0,
    pDeviceList[i].pDeviceDescription, -1,
    lpszDeviceDesc, lenDeviceDesc,
    NULL, NULL);
    return NO_ERROR;
    Pass the int32 you got from the first parameter of the previous call as
    a simple int32 passed by value to this function (and make sure you don't
    call this function with a higher index than (plItems - 1) returned from
    the first function.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Can I call host file ( Unix Shell script ) from Oracle 10g trigger

    Hi,
    I am new to Oracle 10g. Can I call host file ( unix shell script ) from Oracle 10g trigger ?. I know it is possible. Pl explain me with small example
    thanks & regards
    parag

    user12009546 wrote:
    Hi,
    I am new to Oracle 10g. Can I call host file ( unix shell script ) from Oracle 10g trigger ?. I know it is possible. Pl explain me with small example
    thanks & regards
    paragIf you are in 10g, you can simple call shell script from DBMS_SCHEDULER:
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'TEST_SCRIPT',
    job_type => 'EXECUTABLE',
    job_action => 'PATH_OF_YOUR_SCRIPT',
    start_date => SYSDATE,
    repeat_interval => 'FREQ=MINUTELY; INTERVAL=1',
    enabled => TRUE,
    comments => 'Shell script from Oracle'
    END;
    /

  • Can we able to call .bat file from Stored procedure?

    My actual requirement is to import an csv file(where it contains a table) into oracle Database from the front end screen when the csv file location is given.
    Where in the screen (designed by dotnet) a browse option will be present and I will give the csv file location and this will be passed into stored procedure as an input parameter.
    Now I need a stored Procedure that can Import my csv file table data into Oracle database10g.
    I shoudnot use the import option present in the physical Oracle Database.
    Can any one please provide me the stored Procedure?

    NGK246 wrote:
    My actual requirement is to import an csv file(where it contains a table) into oracle Database from the front end screen when the csv file location is given.
    Where in the screen (designed by dotnet) a browse option will be present and I will give the csv file location and this will be passed into stored procedure as an input parameter.
    Now I need a stored Procedure that can Import my csv file table data into Oracle database10g.You do not seem to understand the basic concept of client-server. If you supply a file location for the server code, and that location is not on the server, how do you expect the server to access that file in that location?
    You cannot expect the server to hacks its way across the network, crack open a remote file system somewhere, and steal that file from that location.
    As the client has access to that location and file, the client needs to read that file and supply that file's content to the server. This is how the server receives a file from a client. With Oracle. With FTP. With SCP. With SFTP. With HTTP. With SMTP and file attachments to e-mails. Etc.
    This is not specific to Oracle. This is a fundamental concept. So the problem here is your ignorance of client-server and not a problem with Oracle and not a problem with PL/SQL.
    I shoudnot use the import option present in the physical Oracle Database.Not sure what this mean, but the basic statement that "+we should not use feature 123 or feature ABC of Oracle+", is invariable an utterly idiotic statement to make. Kind of like buying a car and then making the statement that groceries may not be put into the truck as the car's trunk should not be used.
    Can any one please provide me the stored Procedure?Very arrogant of you to assume that others will spend their free time writing code for you - with you copying-and-pasting that code and providing it to your employers, as your work...

  • Can't print pdf files from my imac

    can't print pdf files from my imac.

    macs don't come with acrobat reader by default
    when one get a mac and open a pdf file the build in program called preview opens it
    most of us stick with preview because acrobat reader is a rather dangerous program to install
    http://www.cvedetails.com/vulnerability-list/vendor_id-53/product_id-497/cvsssco remin-6/cvssscoremax-6.99/Adobe-Acrobat-Reader.html
    more
    https://www.google.com/search?sourceid=opera-portal&q=acrobat+reader+exploits&cl ient=opera-portal&channel=portal#hl=en&client=opera-portal&hs=lqn&channel=portal &sclient=psy-ab&q=list+of+acrobat+reader+exploits&oq=list+of+acrobat+reader+expl oits&gs_l=serp.3...8463.9471.0.9773.8.7.0.0.0.1.162.508.6j1.7.0.les%3B..0.0...1c .1.5.psy-ab.4Tc73RiiXXA&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&bvm=bv.43148975,d .bGE&fp=cab576d3b9062d9c&biw=1825&bih=748
    after adobe flash and oracle Java the adobe acrobat reader is the most open door for hackers into ones system
    if you type preview in spotlight(the icon which looks like a spyglass) or in the launch's seach you can get to the preview app

  • How to call java files from different directories

    hi, how do i call java files from a different directory??
    let say i got partA.java, and i need to include functions from partB.java which is in a different folder. how can i do that?

    Chicon wrote:
    Hi nuttynibbles,
    Before the class declaration in partA.java, you must have an import statement like :
    import someDirectory.partB;
    public class partA {
    ... and before you ask... you'll probably want to read through this http://java.sun.com/docs/books/tutorial/java/package/index.html

  • Can we call a procedure from  a trigger

    Can we call a procedure from a trigger
    thanks

    Why cant you test yourself..?
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace procedure p1
      2  as
      3  begin
      4   null;
      5* end;
    SQL> /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace trigger t1
      2  after insert on t
      3  begin
      4   p1;
      5* end;
    SQL> /
    Trigger created.
    SQL> insert into t
      2  values(5,'n');
    1 row created.
    Message was edited by:
            jeneesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Can we call java jar from ODI?

    Hi All,
    Can we call java jar from ODI? if yes please suggest how?
    Regards,
    Satish

    This is an excellent article from Uli.
    One reason, I dont like this approach is that is mandates to copy the .jar file to the driver folder and restart the agent.
    Think of a scenario where there are several developers in love with Java and want to place the jars in the drivers directory.
    This is a maintenance nightmare for the admin and would clutter up the drivers directory.
    Find here the way to invoke Java jar methods
    http://askankit.blogspot.com/2010/09/call-java-jar-methods-from-odi.html

Maybe you are looking for

  • How to create tab pages in EP

    Hi Experts, Can you please let me know how to create tab pages in EP. I have created one page. In this page, I have to place 2 iViews as tab pages. Can you please let me know how I can acheive this? Regards,

  • Unable to print PDF file in HP deskjet printer ink advantage 1515

    Hi , currently i have difficulty in using my printer(HP deskjet  printer ink advantage 1515 ) to print PDF file, but Microsof word and powerpoint is ok,, so , any idea?

  • Photos are not showing up in my photo stream

    Cannot see pictures on my photo stream . It says my photo stream is empty but I have lots of pictures. All sharing buttons are on and I'vv backed it up.

  • Adobe Reader for Ipad 1

    Hi Everyone, I would like to complete a file on my Ipad 1. This file is a pdf only supported by Adobe Reader. The file (about 969 k) is suported in my computer whithout any problem, but I can't open it on the Ipad, even if I get the latest version of

  • Repaint in applet

    hi i've got an applet that draws an offset Image when mouse drag. now, when i minimize the browser and restore it back, the offset image disappear and i need to draw it by mouse drag again. what should i do to avoid the image to disappear?