Filter löschen
Filter löschen

Convert Python to MATLAB .NET Library

4 Ansichten (letzte 30 Tage)
Vijai Soundarajan
Vijai Soundarajan am 20 Mär. 2019
Beantwortet: William Zhou am 25 Mär. 2019
I would like to know, is it OK to convert MATLAB code with Python scripts into .NET assembly using Compiler SDK?. As i already have few MATLAB code coverted to .NET assembly and getting called from .NET application. I just want to follow the same approach to call Python scripts from my applicaiton using MATLAB as a intermediate layer (wrapper).
C# Application --> .dll (.NET Assembly) --> MATLAB code with Python script.
Thanks.
Regards,
Vijai.S

Antworten (1)

William Zhou
William Zhou am 25 Mär. 2019
This workflow is supported by the MATLAB Compiler SDK. However, it falls on your .NET application to ensure that it can acccess any Python dependencies needed for the scripts to execute.
See this link for additional information on calling Python scripts from MATLAB: https://www.mathworks.com/help/matlab/matlab_external/undefined-variable-py-or-function-py-command.html

Kategorien

Mehr zu Python Package Integration finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by