Is it possible to call one mathscript function from another?

HI iam bahrath..i need call the operation takin place in one mathscript in another..is it possible?pls help..

Thanks for your concern..let me explain my project.Iam actually developing a system which provides the stress strain relationship of a material..For calculating strain which is nonlinear in this case we are using image processing techniques.We take a picture of the system initially with light markers and we find the centroid of all the markers(i use four of them).After the force is applied on the particle the centroid of the markers change as the marker positions change.I use this change in the centroid and calculate the strain.Now, 90% of the code is ready in matlab(jus capturing image and usin is needed).But i have been asked to implement it in labview.so iam tryin to put the code in mathscript and try.But the problem i face is incompatibility of many functions like imshow,input etc.so im implementin parts of the code inlabview mwthod and rest in mathscript.In matlab code i have two files and call the function in in another file from one file..thus i thought i might use two mathscripts and call one from the other..pls help.

Similar Messages

  • IP - Is it possible to call exit planning function from ABAP Report..

    Hi All,
    Greetings.
    Is it possible to call exit planning function from ABAP Report (t-code SE38) ? Or I mean is not limited only to be called from ABAP Report, perhaps from BSP / Web-Dynpro / Function Module.
    If somebody here has been doing it before, I'm keen to ask to kindly share it. Particularly how to call and transfer data to that exit function.
    Or if somebody has done in BPS, appreciate if it can be shared too .
    Thanks a lot and have a good day,
    Best regards,
    Daniel N.

    Hi.
    You can achive this as suggested by Mattias in your previous post.
    Lets say you have next data structure:
    CostCenter | Amount | PercentForDistibution |
    Create input ready query in this format. Restrict cost center by variable type range.
    Create WAD with analysis item.
    When you run web page you enter range of cost centers (lets say you will enter 101004 to 101010).
    I assume you have data only for 101004 in your cube (lets say 1000).
    You will see only one record in your webpage.
    CostCenter | Amount | PercentForDistibution |
    101004       | 1000     | NOTHING
    When you create WAD in analysis item properties set "NUMBER_OF_NEW_LINES" to lets say 1 (so in WAD you will see always one blank line for entering new data).
    Just add 6 new records:
    CostCenter | Amount   | PercentForDistibution |
    101005       | NOTHING| 10
    101006       | NOTHING| 30
    101007       | NOTHING| 20
    101008       | NOTHING| 25
    101009       | NOTHING| 5
    101010       | NOTHING| 10
    Then run planning FOX function like this:
    FOREACH Z_COST_CENTER.
    IF {Amount, Z_COST_CENTER} <> 0
    Z_AMNT_TO_DISTRIBUTE = {Amount, Z_COST_CENTER}.
    ENDIF.
    ENDFOR.
    FOREACH Z_COST_CENTER.
    IF {PercentForDistibution Z_COST_CENTER} <> 0.
    {Amount, Z_COST_CENTER} = Z_AMNT_TO_DISTRIBUTE * {PercentForDistibution Z_COST_CENTER}.
    ENDIF.
    ENDFOR.
    It is not perfect FOX, but as an idead, it should work.
    Regards.

  • Is it possible to call a JavaScript function from a dialog?

    Hi there,
    At the moment I have created a dialog, that consists of three text fields that a user fills out, and then clicks next.
    What I am attempting to do, is pass the result of these three textboxes to a JavaScript function I have laying in a file in Web Resources. I've done some research, and I can't find anything.
    So my question is - is it possible to call a JavaScript function from a dialog?
    Thanks for your time.

    Hi,
         It is not possible unfortunately. We can start dialog from script but not the other way unfortunately. However, you can always write server side code for this and it will surely execute. So instead of javascript, write plug-in.
    Hope this helps.
     Minal Dahiya
     blog : http://minaldahiya.blogspot.com.au/
     If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

  • How sholud we call one jframe class from another jframe class

    Hi
    In my application i am calling one jframe class from another jframe clas.
    how sholud we make previous jframe inactve when another jframe is invoked?(user sholud not able to make any changes on on parent jframe window when another jframe is invoked)
    Pls reply.

    Sorry for me it is not possible to change existing code,
    pls suggest me any other solution so that i can inactive parent jframe when child jframe execution is going on.

  • Calling one WAD Report from another WAD Report

    Hi All,
              I want to Call one WAD report from another WAD Report and I want to show that Report in a Container of the Calling Report Itself. Kindly give the Solution. Thanks for your support in advance.
    Thanks & Regards
    Shiva

    Hi Shiva,
    There is Command called "SET_TEMPLATE" Set Web Template.
    Here you can select any of your existing web template and choose to open it in current page of in a new window.
    Hope it helps.
    Regards,
    Pratap Sone

  • Calling one report program from another

    Hi All,
             i am calling one report program from my program & exporting it's output to SAP-SPOOL using SUBMIT statement. I want to fetch the spool no in my program for this spool. Please guide me how this can be achieved? i have tried SYST- SPONO but it's not working.
    Thanks & Regards,
    Chetan.

    Hi,
    Initially check this it might be helpful  to u.
    http://help.sap.com/saphelp_sm40/helpdata/en/30/cc154219fce12ce10000000a1550b0/content.htm.
    Even use the function module slike Job_open , Job_close  this is also one of the methid to achive spool requests.
    Regards,
    Sana.
    Reward with points if found helpful..

  • Itz possible to call one report program into another program

    hi guys,
                i had a doubt that can i call a report program into another report program by declaring their name into the second program like as we calling Includes ,function modules and like class and their methods .
    if  anybody done this or know how to do this,  give me the details and explination about this  friends
    if it possible with screenshots and codings
    Thanks & Regards
    Saigijeo

    Please search before posting, do not ask basic questions here.
    Always do your own work before turning to the community with specific problems.
    Thread locked.
    Thomas
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]

  • Is it possible to call a java function from plsql?

    I have a plsql script which loads data in to a table. One of the fields is a notes field. I would like to use advance offerings of java to manipulate the data before inserting. Is there away I can pass the data to a java function and have it return the manipulated data?
    Thanks
    Aaron

    You can use java stored procedure to call java function from plsql.
    1. Create a java class with a static function(which will be called from plsql).
    2. Compile and load the class into database using LOADJAVA command.
    3. Create a wrapper stored procedure or function in plsql which calls the above java function.
    4. Access this plsql procedure like normal database procedure. This will invoke underlying java function in which you can do all the processing and return result.
    Refer this url for help on implementing above steps :
    http://otn.oracle.com/tech/java/jsp/pdf/developing_o8i_apps_with_plsql_and_java_twp.pdf
    Samples on java stored procedure :
    http://otn.oracle.com/sample_code/tech/java/jsp/oracle9ijsp.html
    Chandar

  • Calling one WTC service from another WTC service

    Hi,
    We have a service called COLLECT defined in our WTC server.
    Recently we've added a second service called SUM in the same WTC server.
    We were wondering if it's possible to call SUM from COLLECT, and if it is, what configuration changes should be made in order to do it?
    Currently both services are exported by the WTC server (and imported by our Tuxedo).
    Thanks,
    Shy

    Hi Shy,
    Although I haven't tried it, I'm fairly certain you cannot call a Tuxedo EJB using tpcall() within a WTC based application. What I normally advise customers to do when writing a Tuxedo EJB is to implement two separate interfaces. One is obviously the TuxedoService interface that all Tuxedo EJBs must implement. In particular you must implement the service() method that accepts a TPServiceInformation instance that provides access to the typed buffer passed to the EJB. Normally one then extracts the necessary fields or information from the typed buffer, performs whatever necessary business logic needs to be performed, and then constructs a reply typed buffer.
    What I recommend is that you separate out the business logic into a separate interface and have your class implement both interfaces. The service() method would only deal with the marshalling/unmarshalling of the information contained in the typed buffers, and leave all business processing to methods on the second interface. Then if you need to access another "service", you would use the second interface, thus saving you from all the typed buffer manipulation.
    So in your case, the business logic in the second interface of the COLLECT implementation would simply call the SUM implementations second interface (the EJB's business logic) instead of trying to call a Tuxedo service. While this helps in reuse of the business logic, it doesn't address the issue of trying to transparently move a service implementation from say Tuxedo to WLS. If that's what you are trying to do, you might try exporting the SUM service from WTC to the Tuxedo domain gateway, and then importing the SUM service from that gateway. This would likely cause a network round trip if it works, but it's something to consider.
    Another alternative is to use something like the Apache Tuscany/Java project and build your Java applications using SCA. Tuxedo SALT includes a Tuscany/Java binding extension that allows Tuscany/Java applications to transparently call Tuxedo services. The choice of whether to actually call a Tuxedo service or call a Tuscany/Java based SCA service is determine by the binding selection and not changes in your code. Just a thought...
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • How I can call controller's functions from another component?

    Hi again!
    I make a few web Dynpro components, for example first for user-data processing, second - for project-data processing. In the controller of 1-st controller there is a function getUserById(). In the controller of 2-nd component I need such function. And I don't want to make a dublicate for this function in the controller of 2-nd component. Is there a way to call function in one component from another?

    Hi,
         Yes, you can reuse the component. There are two basic types of component communication. 1. Intra Component communication 2.Inter Component communication.
    1. Intra Component  communication: The two components must be in same DC(project).
    Procedure:Say there are C1,C2 components in a DC.
    Open C2, Open interface controller, create a similar (_parameters and return type_) method to the method C2. Call C2's method in this Interface method.   
    Open C1, select and right click  Used Web Dynpro Components -> Add Used Component. In the wizard, you can browse and select the C2 component,and enter a name to the usage. Then the usage of the interface <b>must </b>be added in properties required controllers of a view/component controller.
    Now we can use the method that is available in the C1 interface controller.     
    You must define method before declaring usage
    <b>2.Inter Component  communication:</b> The two components are in different DCs
    Open DC metadata of C2. Right click on Public part-> create new Public Part.Enter name-> Next -> Select entity type as Web Dynpro Component in wizard,in Select Entities  select the component ,Finish.
    A structure for public part is created.
    Open C1, Open DC metadata of C1. Right click on Used Dcs-> AddUsed DC. Browse to C2's public part.
    Select Finish.
    regards,
    Siva
    Edited by: Siva Rama Krushna on Dec 19, 2007 10:07 AM

  • Calling one business role from another business role on CRM web client

    Hi,
    I have a requirement where, one business role can be launched just by click a navigation link on another.,
    For eg. in a UTIL_IC role frame work , I add a link by clicking on it, I go to UITIL_SALES role.
    This is required so that person need to launch crm_ui_frame again if he wants to login for another business role assigned to him..
    Please suggest the solution if possible for this one.
    Regards,
    Pratyasha Shishodia

    Hi Kavita,
    We are facing the same problem. Did you manage to solve this and if yes how?
    Kind regards
    Lars

  • Calling a javascript function from another javascript

    Hi,
    How can I call a java script functon implemented in java script file JS1, from another java script file say JS2. In fact I can copy the same method and can go ahead but it will add to the code redundancy.
    Any help will be highly appreciated.
    TIA.

    If you are indeed talking about JavaScript, then you are definitely in the wrong forum. This forum is about Java, which has nothing to do with JavaScript at all.

  • Is it possible to call a JavaScript function from a FormCalc script?

    Greetings:
    I am wondering if there is a way to call a function coded in JavaScript from a field event that is coded in FormCalc in Designer 8.
    If so, I should be able to reference the same global variables in each language correct?
    Best Regards:
    Mark

    Thanks Srini!
    That is what I want to do.  I have tables that I have simple FormCalc calculations on to total the fields.  I want to then compare the totats of the fields to make sure they are equal.  That is where I am using the if else statment with JavaScript.  But for some reason it isn't working.It is the first part of my IF statement that doesn't do anything - when I go to the form and make them all equal I don't get the "boo" message (I am just trying to learn )
    thanks!
    Jodi
    var myDoc = event.target;
    var CashCheckTotal = myDoc.getField("form1[0].#subform[0].CalculatedCashCheckTotal[0]");
    var DescTotal = myDoc.getField("form1[0].#subform[0].CalculatedDescriptionTotal[0]");
    var FoapTotal = myDoc.getField("form1[0].#subform[0].CalculatedFoapTotal[0]");
    var curDate=new Date();
    var PartNetID = myDoc.getField("form1[0].#subform[0].NetID[0]").value;
    var dialogTitle = "Please Confirm that the email was sent and the form was printed"; 
    var defaultAnswer = "Yes"; 
    var f = myDoc.getField("form1[0].#subform[0].Campus[0]"); 
    var cbStatus1 = (f.isBoxChecked(0)) ? "OK" : "not"; 
    var cbStatus2 = (f.isBoxChecked(1)) ? "OK" : "not"; 
    var cbStatus3 = (f.isBoxChecked(2)) ? "OK" : "not"; 
    if("CashCheckTotal" == "DescTotal"
    & "DescTotal" == "FoapTotal")
        {xfa.host.messageBox("Boo")}
    else {xfa.host.messageBox("Totals are not equal or are zero:\n" + "Calculated Description Total(A), Calculated Cash/Check Total(B) and Calculated CFOAPAL Total(C) must be equal.");}

  • Is it possible to call a C-function from Java?

    Hey!
    I have some extern variables written in C-language, can i get them into a java-file using java? How to do this otherwise?
    Can i use Native interface java? Or is that only the opposite way?
    Thanks
    Mikael

    Hey!
    I have some extern variables written in C-language,
    can i get them into a java-file using java? How to
    do this otherwise?No.
    >
    Can i use Native interface java? Or is that only the
    opposite way?If you wrap that C in C++ and compile it into a .dll or .so you can use JNI.
    %

  • Calling an OA Function from another function

    Hi,
    I need to create a link in a function that calls another function.
    I've created a new Item 'Static Styled Text' writing in the destination URL 'OA.jsp?OAFunc=FUNCTION_NAME&pPersonID=&pFromMenu=Y'.
    I am able to connect to the Function but the person_id parameter passed is not the right one.
    To be clear I'll write down an example. I am a super user and in FUNCTION A I query an employee and enter in the function. Subsequently I click on the link I've created to view this employees information in FUNCTION B. Instead it queries my information, passing my person_id.
    Can someone help?
    thanks

    You would need to get hold of the person id of the employee you queried, this may be a VO attribute
    Once you get the person Id, you would need to set the URLs parameter value to this value.
    so the URL when you are in the next pahe would look like
    http://<server:port>/../OA.jsp?OAFunc=FUNCTION_NAME&pPersonID=<the value you passed>&pFromMenu=Y
    Thanks
    Tapash

Maybe you are looking for

  • SharePoint 2010 + SQL 2008 + DPM 2012 Backup Failures

    I have a single SharePoint 2010 WFE and a SQL 2008 server backend. Since configuring DPM to run the SharePoint backup through the WFE, I have had no success with backups. DPM Reports: The VSS application writer or the VSS provider is in a bad state.

  • Locating JavaBean

    Hi, I have writen a servlet that sends back a List of SummaryRec structure via ServletSession. What did I do wrong here? The Jsp can't locate the SummaryRec.class. <%@ page contentType="text/html;charset=ISO-8859-1" language="java" import="java.util.

  • Document on Workflow

    Hi , Can anybody send me some good document on the workflow.. I would appreciate this.

  • Playlists not syncing

    My most recent playlists will not upload from iTunes desktop to the iPhone. Is there a limit on number of playlists that can be synced to the phone? OR am I failing to complete some function related to this process? iPhone manual does not seem to con

  • C:\Users\..\AppData\Roaming\lprers.dll; The specified module could not be found."

    Recently, when I reboot/start up my Windows 7 HP laptop, an error pops up:  "There was a problem starting C:\Users\..\AppData\Roaming\lprers.dll;  The specified module could not be found." How do I fix this? I have already run the Malwarebytes Anti-M