필터 지우기
필터 지우기

Question about ECG example: ex_ecg_sigprocessing

조회 수: 1 (최근 30일)
Allan Moser
Allan Moser 2015년 12월 31일
댓글: Pooja 2020년 2월 22일
This example opens a simulink file. When I try to run it, it fails saying, "This requires the Fixed-Point Designer License." Specifically, it fails on the functions bitsll and bitsra. However, I can execute these functions from a Matlab commmand window. In addition, if I copy the code for the main function called by this example, QRSDetection.m, which calls bitsll and bitsra, the function runs without any problem.
If anyone has any ideas as to why this is occurring, I would appreciate your advice.
Thanks

채택된 답변

Walter Roberson
Walter Roberson 2015년 12월 31일
There is an oddity in the licensing for those functions.
You need the Fixed-Point Designer license in order to generate code that uses those functions, and generating code is done if you use Rapid Accelerator Mode (and possibly one of the other modes) or if you deploy the code.
However, I see hints from previous questions that for at least one of the modes of use of the functions, the functions can be used in interpreted mode, because some of the modes look like they are built in. So if you were to run the model unoptimized you might possibly not need the license.
  댓글 수: 3
Walter Roberson
Walter Roberson 2015년 12월 31일
Running the code in interpreted mode is required for software testing.
Pooja
Pooja 2020년 2월 22일
Hi, I face a different problem when i type this command "ex_ecg_sigprocessing". Says "Undefined function or variable 'ex_ecg_sigprocessing'.
What should i do?

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

nikita teggi
nikita teggi 2016년 4월 12일
I wanted to know that in which version this example opens. Thanks

카테고리

Help CenterFile Exchange에서 Fixed-Point Designer에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by