Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
emlmex in standalone application

Subject: emlmex in standalone application

From: Jveer

Date: 28 Aug, 2009 16:09:02

Message: 1 of 1

hey guys!

can anyone tell me whether compiling in 'real time' within your code using emlmex can be deployed into a standalone application using matlab compiler?

i tried it and a completely irrrelevant error came up - emlmex cannot be used with string or something like that.

i'd really love to be able to compile this capability because emlmexing slow functions brought my simulations times from 7 hours to 58 mins!!

consider the following

% lostsa matlab code
% a,b,c - matrices determined. i.e. fixed size inorder to be used with emlmex

for [a lot]

% lotsa matlab code including non emlmexable routines

emlmex functionname -eg {a,b,c}

call functionname

% use outputs with lotsa matlab code including non emlmexable routines

end

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us