Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

MEX Creation of a Function with Input Parameters

1 Ansicht (letzte 30 Tage)
Paul Huter
Paul Huter am 25 Mär. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I am trying to generate a MEX file of a function that has input parameters (like 'function [] = run(inputfile)', but emlmex gives me a an error about preconditions. I have several functions that are calling each other and passing information between them, and I want to make MEX files of all of them in an effort to speed up processing.
Any ideas how I get around this "precondition" problem?
Thanks.
  1 Kommentar
Paul Huter
Paul Huter am 25 Mär. 2013
I see that I can use '-eg' when calling emlmex, but that seems to require me to specify exactly what I am loading, but in instances where I am trying to load a matrix or vector of unknown size, this does not work.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by