matlab-deployment

build a standalone application from Matlab code

孤者浪人 提交于 2019-12-05 16:39:06
I have some Matlab code and a GUI for it and I want to make a standalone app to Protect my Source Code. How can I build this standalone? Thank you for any guide. ================================================================================ I found in help: If you do not want to distribute your proprietary application code in this format, you can use one of these more secure options instead: • Deploy as P-code — Convert some or all of your source code files to a content-obscured form called a P-code file (from its .p file extension), and distribute your application code in this format. •

C# & MATLAB interoperability for non-matrix datatypes

好久不见. 提交于 2019-12-05 12:29:05
I'm writing a C# program that needs to call MATLAB processing routines. I've been looking at MATLAB's COM interface. Unfortunately, the COM interface appears to be rather limited in terms of the types of data that can be exchanged. Matrices and character arrays are supported, but there doesn't seem to be support for exchanging struct data or cell arrays between C# and MATLAB using the COM interface. For example, in the following code (assuming that a DICOM image named IM000000 is present in the appropriate file folder), the MATLAB variables 'img' and 'header' are a 256x256 int16 matrix and a

Speaker Recognition using MARF

ⅰ亾dé卋堺 提交于 2019-12-05 06:08:53
问题 I am using MARF(Modular Audio Recognition Framework) to recognize the Speaker's voice. In this, i have trained MARF with the voice of person 'A' and tested MARF with voice of person 'B'. Trained using --train training-samples Tested using --ident testing-samples/G.wav In my speakers.txt file I have mentioned the voice samples of both the persons i.e. A & B. But I am not getting the correct response means both the trained voice and testing voice are different but MARF is giving the Audio

How can I create an installer for compiled MATLAB which requests that a user accept our licence terms?

感情迁移 提交于 2019-12-05 02:07:39
问题 I am writing programs in MATLAB to distribute to Windows users. I am using the MATLAB compiler with MATLAB release r2014a to create the programs. I can create a Windows installer using the MATLAB application compiler and it works acceptably. However, I would like the installer to require that my users review and accept a licence agreement before they install the software. The MATLAB installer does not provide this possibility. Can anyone suggest an alternative way to package my compiled

Python Mlab - cannot import name find_available_releases

谁说我不能喝 提交于 2019-12-04 20:27:24
问题 I am new to Python. I am trying to run MATLAB from inside Python using the mlab package. I was following the guide on the website, and I entered this in the Python command line: from mlab.releases import latest_release The error I got was: cannot import name find_available_releases It seems that under matlabcom.py there was no find_available_releases function. May I know if anyone knows how to resolve this? Thank you! PS: I am using Windows 7, MATLAB 2012a and Python 2.7 回答1: I skimmed

TCP server on MATLAB

扶醉桌前 提交于 2019-12-04 18:08:35
I can't TCP from MATLAB to MATLAB Server Code: t = tcpip('192.168.1.14', 8000, 'NetworkRole', 'Server'); set(t, 'InputBufferSize', 900000); fprintf('waiting for client \n'); fopen(t); fprintf('client connected'); MATLAB waiting for client when I use fopen(t) when I'm trying to connect from another PC on the same network I use this Code: tc = tcpip('192.168.1.14', 8000,'NetworkRole','Client'); fopen(tc) on the Client PC return no errors after fopen(tc) 'that's mean the Server is working fine but on the Server PC .. It still waiting for client without detecting the Client and jump to fprintf(

Can we deploy the matlab generated java code on any other machine which is not having Matlab?

六眼飞鱼酱① 提交于 2019-12-04 17:52:33
I have generated a java code from matlab and while executing the java code in Eclipse it is using mclmcrrt711.dll file in matlab compiler runtime, when i try to execute the java code in another machine which is not having matlab or matlab compiler it is giving me the error:"java.lang.UnsatisfiedLinkError: Failed to find the library mclmcrrt711.dll, required by MATLAB Builder JA, on java.library.path" i tried adding the mclmcrrt711.dll file to the library and by setting system path to that dll file location(as copied just the .dll file to other system which is not having matlab compiler). How

Is it possible to run matlab on a remote server and control it using the matlab GUI from a thinclient?

南楼画角 提交于 2019-12-04 13:31:16
问题 Akin to what can be done with emacs with slime: the core services can run on a performace grade remote computer while I can edit and run code from emacs gui on an netbook. Me and my colleagues often need to do some demos using machine learning scripts running in matlab This requires us to carry around heavy laptops. Could we have the applications running on a remote server and access it using the same matlab gui without running the scripts locally? Remote desktop or similar solutions are not

How can I use Matlab objects in compiled .NET assemblies?

懵懂的女人 提交于 2019-12-04 09:29:27
I have a basic Matlab class which I want to instantiate in C#. classdef MyClass properties Value end methods function obj=MyClass(v) obj.Value = v; end function display(obj) disp(obj.Value); end end end This is then built into a .DLL file and imported in a C# project along with the associated Matlab namespaces (MathWorks.MATLAB.NET.Arrays, MathWorks.MATLAB.NET.Utility). On the C# side, I am trying to build an instantiation of this class thus: Untitled2.MLTestClass matlab = new Untitled2.MLTestClass(); MWCharArray input = new MWCharArray("Initial"); MWArray[] result = matlab.MyClass(1, input);

How can I create an installer for compiled MATLAB which requests that a user accept our licence terms?

寵の児 提交于 2019-12-03 17:08:13
I am writing programs in MATLAB to distribute to Windows users. I am using the MATLAB compiler with MATLAB release r2014a to create the programs. I can create a Windows installer using the MATLAB application compiler and it works acceptably. However, I would like the installer to require that my users review and accept a licence agreement before they install the software. The MATLAB installer does not provide this possibility. Can anyone suggest an alternative way to package my compiled MATLAB applications? I would accept a two level installer, where the first installer presents the licence