User Profile

Collapse

Profile Sidebar

Collapse
lskov
lskov
Last Activity: Feb 21 '08, 02:00 PM
Joined: Apr 16 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • lskov
    started a topic Generate XSD with XSLT and XML
    in XML

    Generate XSD with XSLT and XML

    Hey

    Im really new to XML and cant find a way how to not have xmlns as an attribute en every element.

    The xslt code is:
    <xsl:styleshe et xmlns:xsl="http ://www.w3.org/1999/XSL/Transform" version="2.0"
    xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
    <xsl:output method="xml" />



    <xsl:template match="/">...
    See more | Go to post

  • lskov
    started a topic Share data between database

    Share data between database

    Hi

    I need to share information between databases. Now im using an acces database but maybe i could be an SQL server.

    I know that it is possible to share data between two access databases, with link them together.
    But how is it possible to set some of the columns to not be writable in the master database so the data need to be filled into the columbs in the database i linking the tabel in.

    Hope...
    See more | Go to post

  • lskov
    started a topic Data [shared] between python and c program

    Data [shared] between python and c program

    Hey

    Im having a problem with data communication between a python program and a c program.

    The c program calculates the data, so it a kind of a solver.
    Data variables should be chanced in real time from the python program.

    A solution could be writing to shared memory. But how can i write an array to shared memory?
    Or is there anybody there have another idea`?
    See more | Go to post

  • lskov
    started a topic Python/C/RTW

    Python/C/RTW

    Hey

    Im in a project where i neet to execute some c functions there is generated with, matlab RTW.

    So my question is:
    Is there anybody there have experience with this?
    Or just with execute c code og exe in python including parameters?

    Thanks

    /LSkov
    See more | Go to post

  • lskov
    replied to Python and DLL
    thanks i will look on it an hope i got it to work
    See more | Go to post

    Leave a comment:


  • lskov
    started a topic Python and DLL

    Python and DLL

    Hey

    I have a dllfile "WtcProvider.dl l" and now i will try to import it in python. So i can use the functions in it.

    After a fast research on google it looks like it is possible. But i cant find a way so how to got it to work.

    Anyone there can helt me with loadina an dll file?
    See more | Go to post

  • lskov
    replied to String with "
    Thanks.

    now im just have one problem. how can i define my function so mi argument is charachter.

    example:
    in java or c you can define what you argument is like
    test_function(c har test, int var)
    See more | Go to post

    Leave a comment:


  • lskov
    replied to String with "
    noep

    >>> matlab.setVarSi m(test,22)
    Traceback (most recent call last):
    File "<interacti ve input>", line 1, in <module>
    File "L:\workspace\T estMlab\src\def ault\test_scrip t_weatherstatio n.py", line 25, in setVarSim
    mlab_code = varName+"="+var Value
    TypeError: coercing to Unicode: need string or buffer, int found

    hmmmmm?
    See more | Go to post

    Leave a comment:


  • lskov
    replied to String with "
    Not working

    self.matlab.Exe cute(\" mlab_code \")
    See more | Go to post

    Leave a comment:


  • lskov
    started a topic String with "

    String with "

    Hello

    Im am tryint to send a string from python to matlab. But how can i send a string including ".

    Example:
    Firs what matlab need.
    matlab.Execstme ("fprintf('%6.3 f\n',test)")

    And now i will send an variable so i write this

    def setVarSim(self, varName, varValue):
    "executes Matlab command, for setting value, return nothing"
    ...
    See more | Go to post

  • lskov
    replied to What is your OS and Python Version
    Im am using python 2.5 and eclipse plugin pydev.
    Test im sometimes running in pyWin.
    See more | Go to post

    Leave a comment:


  • lskov
    replied to Matlab / Python
    It is mlabwrap-1.0
    See more | Go to post

    Leave a comment:


  • lskov
    replied to Matlab / Python
    Yes i have alredy seen it. But i cant find a solusion to my problem.

    When im trying to run setup.py install i got an error message.

    WINDOWS SPECIFIC ISSUE? Unable to remove c:\docume~1\las ko\locals~1\tem p\tmpzzkifo; please delete it manually
    [Error 13] The process cannot access the file because it is being used by another process: 'c:\\docume~1\\ lasko\\locals~1 \\temp\\tmpzzki fo'

    running install...
    See more | Go to post

    Leave a comment:


  • lskov
    started a topic Matlab / Python

    Matlab / Python

    Does sombody in here know how i can set an wariable in matlab from python.

    I have found numpy an pymat, but i can not find out how to use it.

    Im using python 2.5 and matlab 2006b.
    See more | Go to post
No activity results to display
Show More
Working...