Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how to randn function compile to dll

1 visualización (últimos 30 días)
Hojae Ahn
Hojae Ahn el 22 de Jun. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
how to randn function compile to .dll?

Respuestas (1)

Walter Roberson
Walter Roberson el 22 de Jun. de 2016
Just put a call to it in the function that you compile with the MATLAB Compiler product or MATLAB Coder product. randn() is not on the list of functions that cannot be compiled, so just code your call and apply the Compiler or Coder product.
  2 comentarios
Hojae Ahn
Hojae Ahn el 22 de Jun. de 2016
ex)
function y = test(m,s,n)
y = m + s * randn(1,n)
how to comoile this mfile?
Walter Roberson
Walter Roberson el 22 de Jun. de 2016
https://www.mathworks.com/matlabcentral/answers/164490-how-to-create-a-dll-from-a-matlab-code#answer_161232

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by