Borrar filtros
Borrar filtros

Mex file created with coder together with a standalone mcc program

1 visualización (últimos 30 días)
Martin Andersson
Martin Andersson el 14 de Mzo. de 2017
Respondida: Dhruvesh Patel el 23 de Mzo. de 2017
Hi, I have two standalone program communicating to save time I have created a mex version of one of the files which works fine on the complied computer. But then I tries to use the two files on another computer where I have installed the MATLAB Compiler Runtime libery this dose not work.
Does any one know how to make a a mcc program and a mex file work on other identical systems?

Respuestas (1)

Dhruvesh Patel
Dhruvesh Patel el 23 de Mzo. de 2017
Since you have not mentioned the error, I would like to point you to a couple of general resources which might help you resolve your issue.
  1. The version of MATLAB Compiler used to create the standalone applicatin must be compatible with the version of MCR installed on the client machine which tries to run the application. Please refer the following documentation to find the compatible MCR version for your application. List of MATLAB versions and compatible MCR versions.
  2. The path structure in a standalone application is not the same as the path structure in MATLAB. This may lead to the application not having access to files that were available when running the code in MATLAB. Please read the following blog article that discusses this topic. Path Management in Deployed Applications

Categorías

Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by