Borrar filtros
Borrar filtros

Low speed problem because of coder.extrinsic

1 visualización (últimos 30 días)
Saeed Soltani
Saeed Soltani el 15 de Abr. de 2016
Editada: Walter Roberson el 15 de Abr. de 2016
Hi everyone,
In order to change the picture of mask icon (as light illustration) in simulink, I was forced to use "coder.extrinsic" as following:
function showImage(input)
coder.extrinsic('set_param')
ModelECU= 'Project/Light';
if input==200
set_param(ModelECU,'MaskDisplay','image(imread(''Brake.jpg''))');
else
set_param(ModelECU,'MaskDisplay','image(imread(''white.png''))');
end
There are several other lights and it has reduced the speed of process dramatically. Is there any solution or even any other way to illustrate the lights?
Thank you in advanced.

Respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by