How to call matlab script? (it shows server error)

hi all
i am using original version of Labview 8.2 and Matlab 7 . but i can not call the matlab script in Labview. while doing the same it shows server error Active X control fails to connect the server. What can i do?
suggestion please...
thanks in advance...

Hi adsafsaf,
Can you provide an error number or more details about how you are trying to call your MatLab script? Until you can share those details, you might want to consult either this KnowledgeBase or this one.
Regards,
Hillary E
National Instruments

Similar Messages

  • How to call matlab from Sun studio Fortran? ^_^

    Hello, everyone,
    I have a fortran code which calls matlab engine and matlab functions. I have successfully demonstrated the code in Compaq Visual fortran 6.6 platform. However, I don't know how to call matlab in Sun Studio platform. I don't know how to add the required Liberay modules in the Sun Studio Fortran project.
    Now I can build the code successfully, however, I cannot build the project due to the following errors:
    Undefined               first referenced
    symbol                in file
    sum_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    matgetvariable_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    mxcreatedoublematrix_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    matputvariable_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    maxval_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    mxcopycomplex16toptr_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    minval_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    engopen_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    mxdestroyarray_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    engputvariable_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    mxcreatenumericarray_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    mxcopyreal8toptr_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    matopen_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    matclose_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    mxclassidfromclassname_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    mxgetstring_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    engevalstring_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    mxgetpr_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    mxgetpi_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    mxcopyptrtoreal8_ build/Debug/Sun12-Solaris-x86/FDTD_3D.o
    I think this is because that I didn't add the required liberary modules in the project. How to do that?
    I really appricate anyone who can help me to solve my problems. Thank you very much!
    All the best,
    Yunhong

    hello,
    Unfortunately, matlab doesn't exist on solaris x86 platform. They only deliver matlab for sparc platform, and i'm wonder if it is EOL'ed now?
    Sun never convince Mathworks to offer matlab for solaris x86, so you have to use (if it is possible) other software like Mathematica (money) or Scila, Sage, Octave, ... (free)
    We are several Mathworks customers who asked Mathworks for that, and i never understand why people continues to use old or slow sparc machines to compute.
    Anyway, today, solaris isn't a right choice for computing, but i'm waiting for Sun to prove that i'm wrong.
    (my main compute server is a Sun V40z with Solaris 10, but the next one will be a Sun X2270 with CentOS, because matlab)
    gerard

  • How to call java script function from JSP ?

    how to call java script function from JSP ?

    i have function created by java script lets say x and i want to call this function from jsp scriplet tag which is at the same page ..thanks

  • How to call SQL Script in DBMS_SCHEDULER

    How to call SQL Scripts in DBMS_SCHEDULER?
    Things I got working
    1) Successfully created and tested a PL/SQL that was created under SQL Workshop->SQL Scripts (I named it 'TEST'). I was able to run this no problem.
    2) Successfully created a DBMS_SCHEDULER that runs every minutes. (See below)
    begin
      dbms_scheduler.create_job(
        job_name => 'myjob',
        job_type => 'plsql_block',
        job_action => 'null;',
        start_date => '19-JUL-11 03.10.00 PM', /* Remember to use the DB time, not your local time if not specifying a timezone */
        repeat_interval => 'freq=minutely',
        enabled => true);
    end;The problem i am having is to make the PL/SQL script (named 'TEST') runs every minute. Its probably very easy to do that but i dont seems like finding any examples online.
    I tried replacing the job_action attribute to " job_action => 'begin TEST; END;', " However, that did not work.
    I am stuck here for couple hours already, any clues would be great :)
    Thanks in advance
    John
    Application Express 4.1.0.00.32
    Edited by: John Lau on Aug 14, 2012 12:47 PM
    Edited by: John Lau on Aug 14, 2012 12:48 PM

    The PL/SQL is pretty long, I would like to call it from a different location rather then putting the whole coding as part of the argument. Sounds like I should be looking into procedure package in database?
    I will do some more research on procedure package, how to create one and how to call from it.
    Thanks
    John

  • How to call unix script/command in ODI

    Hello Gurus,
    Please let me know how to call unix script/command in ODI?
    Thanks
    Shridhar

    you can call shell script using the OS command found in Package.
    Step 1. Drag the OS Command in the Packgae
    Step 2. In the Text mentiond call the script say for ex sh /opt/path/script.sh
    Step 3. Execute.
    Note : Make sure the User through which ODI is triggering does have the required permission to execute shellscript , also always provide the full path , since scripts are execute from the oracldi/bin folder so its necessary to provide the complete path of the script location.
    Hope this helps.

  • How to call shell scripts

    Hi,
    Please let me know how to call shell scripts from WDA
    Thanks
    Bala Duvvuri

    Hi Bala
    You can not call any client side funcitons using Web Dynpro ABAP, it is possible in BSP using JavaScript.
    You can use Suspend and Resume Plugs to navigate to a BSP page and perform the shell script and return to WDA using Resume Plug.
    http://help.sap.com/saphelp_nw04s/helpdata/en/45/19bf8c16f25d7ae10000000a11466f/frameset.htm
    Now, you can use JavaScript to execute shell script:
    http://www.itjungle.com/mpo/mpo052302-story01.html
    Abhi

  • How do i solve - cannot access web server - error message when creating a project in 4.5 with PHP

    How do i solve - cannot access web server - error message when creating a project in 4.5 with PHP

    Screenshot of how it looks when i try to show a ms access form inside a iframe:
    http://oi58.tinypic.com/2vj4ish.jpg

  • Opening any report in SPM shows Server Error

    Hi Experts,
    We have recently upgraded SPM from 2.0 to 3.0 SP3, where when we click any report a small pop-up on the right corner shows "Server Error".
    We have taken the http watch trace and it shows as
    404 - for URL - http://<systemhostname>:<port>/sap/poa/sbc/ps/SPM/psres/0050568E3EE31EE093E92146BB8AEBF6/payload
    500(Internal Server Error) - for URL - 
    http://<systemhostname>:<port>/epm/opm/bidata/SPM/dataSources/0ASA_MP01_Q1002/report?rows=100&cell_limit=200000

    Hi Preetha Balan,
    Sorry for resurrecting this old thread.
    Just wondering, if you can share to me what Update Level or Pacthes that you applied to your system to get rid of that error? I have the same scenario here and does not seem to find a fi.
    If you dont mind can share below two things with me:
    1. Whats the current levels / pacthes for all compnents of your SPM system? (Both java and ABAP).
    2. Can share the OSS ticket ID? i would like my SAP support person to refer to you ticket as well.
    Thanks for you time and help!

  • How to call Java script from java code?Can Jscript be executed at server?

    Hi All,
    We are using 'WebTrends' tool to analyze our site usage pattern.
    To use WebTrends, we need to :
    1) call Java Script code from the java code
    2)Java script has to be executed at server.
    Please comment on two points mentioned above. If yes, please let me know how to do them?
    Thanks in advnce,
    Regards,
    Ganga

    You can check out Rhino project.
    [http://www.mozilla.org/rhino/]

  • How to create a Script in AW server

    Hi all,
             Can anybody pla help me with how to create a simpal script in AW server.
    Thanks
    Ravi Sharma

    These products are all based on the GeoTel acquisition.
    GeoTel ICR (Intelligent CallRouter) was the base product, enabling many different peripherals (i.e. PBXs like Lucent, Nortel, Rockwell etc. - and IVRs like InterVoice, Periphonics etc.) to be joined together in a functional contact center, although the initial implementation of ICR was in a different context - as a network router for service providers (AT&T, MCI, Optus, BT) through an interface called a NIC.
    The NAM was a high-end conglomeration of a Network ICR (NICR) and 1 or more Customer ICR (CICR) suitable for service providers, allowing a hosted solution to be built.
    When Cisco bought GeoTel the name was changed to Intelligent Call Manager (ICM) to avoid marketplace confusion with Cisco's existing line of routers. Thus the NAM (the hosted solution) now consisted of a NICM and several CICMs.
    Since Cisco had developed their own switch/PBX for VoIP (after the Selsius acquisition) called CallManager, it could also be treated as a peripheral and slotted into an ICM. This became IPCC - IP Contact Center.
    A couple of years ago, Cisco branding brought all products under a "Unified" umbrella.
    Although the lines are a bit blurry (and I'll probably get corrected on this ), UCCE is IPCC (well, almost), ICM Hosted is the NAM, and the term ICM is mainly used when UCCE is implemented with non-Cisco switches (i.e. not CallManager).
    Yeah, it's not that clear cut, but you get used to it.
    Regards,
    Geoff

  • How execute a php script on external server

    Hi!
    Here's my problem: I want to execute a php script on a server by calling a simple url. Here an example of a possible url: http://servername/dir/scriptname.php?var1=a&var2=2.
    The return value is a html code.
    I use CVI 2012 AND 3.5!
    Solved!
    Go to Solution.

    CVI doesn't have a http interface library (that I know of).  However, I've used the telnet library to send commands as if it is a web browser, by doing something like this:
    Fmt(tlsend, "%s<%s%s%s%s%s%s", "GET ", "http://servername/dir/", "http://servername/dir/scriptname.php?var1=a&var2=2", " HTTP/1.1\nHost: ", "servername", "\r\n");
    tlsession = InetTelnetOpen("servername", 80, 0);
    InetTelnetWrite(tlsession, tlsend, "\r\n", -1, &tlbyteswritten, 2000);
    InetTelnetRead (tlsession, tlread, 25000, &tlbytesread, 2000);
    Scan(tlread, "%s>.....", ....);
    The other option would possibly be to use InetLaunchDefaultWebBrowser () and pass along the URL of your script and use some ActiveX trickery to get the information back from Internet Explorer, but I'm not sure how well that would work, plus you'd run into problems if the end user installs another web browser.
    Oh, and CVI 3.5  ?

  • How to call Python Scripts throght Labview

    Hi all,
    I am new to this community. Need some inputs  for following Questions
    Questions:
    1)  How can I call python script from LabView?
     (Basically this python script calls some other DLL and print some message, to run the script using Python net in my application .To run my script in python net using following commands: import python script name )
    2)  In how many ways we can call Python scripts from labview?
    I have tried with this option "System Exec.vi "in labview , able to calling pythonnet but unable to send commands and arguments to run python script(i.e  import python script name ). 
     If anyone have samples".VI " please send to me. If you people want any information and clarification  from my side please let me know. Thanks in advance.
    Regards,
    Sambasivareddy

    One way is to create a client server app and to send arguments to python (and back) over TCP/IP. This work very well.
    There is an example on the old OpenG Website about this. Look it up.
    Python client to LabVIEW Server.
    PJM
    Message Edited by PJM_Labview on 03-12-2008 09:00 AM
    Got EasyXML?
    JKI.VIPM.EasyXML.OpenG.LAVA.Builder.blog

  • How to call SQL script from PL/SQL block

    Hi All,
    I have a pl/sql block from which i need to call a *.sql script file.
    Please tell me that how can i do this?
    Thanks and Regards.

    > Though just for knowledge sake, would you please tell if there is a way
    to call a sql script from a pl/sql block.
    This question stems usually from a confusion about client-server and which is which in Oracle.
    SQL*Plus is a client. PL/SQL is a server side language. SQL is a server side language.
    When entering either one of these two languages in SQL*Plus (or TOAD, SQL-Developer, etc), the content is shipped to an Oracle server process, is parsed there, and is executed there.
    The Oracle server process servicing the client can accept a single SQL statement or PL/SQL block at a time.
    It cannot accept a block of SQL statements delimited with a semicolon. That is a client concept where the client will read each delimited statement and send that, one after the other (in synchronous call mode) to the Oracle server for execution.
    The Oracle server does not have a "script parser". It understands SQL. It understands PL/SQL. And that is what it expects from the client.
    Whether the client supports the SET command, the HOST command, SPOOL command, ability to run scripts, and so... have no bearing on what the server itself is capable of doing. The server does not care what feature set the client has. It is tasked with servicing the client via SQL and PL/SQL.
    It is not tasked to support or emulate client features like running SQL scripts.
    Nor confuse PL/SQL with the very limited command set of SQL*Plus. The two has nothing in common. And just as PL/SQL cannot understand C# or Delphi commands, it cannot understand SQL*Plus commands.

  • How to run a script on Oracle server from isqlplus

    Hi I am trying to run a script on my workstation from Oracle server through isqlplus workarea. I entered following command and get the following error. i have enabled isqlplus URL by editing web.xml file already. Can please someone help how to run the script?
    @http://myaixserver.com:5560/scripts/Databasestartupstages.sql;
    SP2-0920: HTTP error 'page not found (505)' on attempt to open URL

    So far, you haven't specified your rdbms version and isqlplus behaved differently on a 9iR1, 9iR2 from the one release on 10gR1/R2. on 9i it was a servlet based on a JServ servlet executor machine, meanwhile on 10g it is a J2EE compliant application deployed on an OC4J container, so configuration is different.
    You may want to take a look at these references -->
    * Starting iSQL*Plus from a URL
    * Creating Reports using iSQL*Plus
    ~ Madrid

  • How to call TRFC from diff SAP server?

    hi all,
            i have created one rfc enabled FM on a SAP server, and i am calling that FM from different SAP server using TRFC. I am calling using this statement,
    CALL FUNCTION 'ZMKV_RFC' IN BACKGROUND TASK
      DESTINATION 'zmkv'
    But it doesnt show me any output neither showing any errors? suggest me step by step procedure to do this...i will reward points if i get the requried answer.

    hI Mayank..
    Note: RFC destinations are maintained in Tcode SM59. Test this RFC Destination. And one more thing these RFC Destination names are CASE SENSITIVE.
    So in this statement.
    CALL FUNCTION 'ZMKV_RFC' IN BACKGROUND TASK
    DESTINATION 'zmkv'  "Check the CASE of the RFC Destination and give
    <b>REWARD IF HELPFUL.</b>

Maybe you are looking for