필터 지우기
필터 지우기

How to get random numbers in model reference block with accelerator mode?

조회 수: 5 (최근 30일)
Elijah Toppo
Elijah Toppo 2019년 11월 28일
편집: Fangjun Jiang 2024년 4월 3일
I was able to successfully convert an existing into a model reference block.
It all works well in normal mode. But when I run the same in accelerator mode, strangely I get an error as follows:
LCC Runtime
Exception 0xc0000005:
Segment Violation
Address : 0x40bcb7
By commenting several parts of the model, I was able to shortlist the problem to the random number generation (both the simulink random generator block and the matlab embedded function calling the rand function give error).
So my question is this, how do I get it to run in model reference in accelerator mode?
Thank you so much for taking the time to read the question.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by