how to randn function compile to dll

how to randn function compile to .dll?

답변 (1개)

Walter Roberson
Walter Roberson 2016년 6월 22일

0 개 추천

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

Hojae Ahn
Hojae Ahn 2016년 6월 22일
ex)
function y = test(m,s,n)
y = m + s * randn(1,n)
how to comoile this mfile?
Walter Roberson
Walter Roberson 2016년 6월 22일
https://www.mathworks.com/matlabcentral/answers/164490-how-to-create-a-dll-from-a-matlab-code#answer_161232

이 질문은 마감되었습니다.

태그

질문:

2016년 6월 22일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by