Community Profile

photo

Vit Valek


Last seen: 3년 초과 전 2018년부터 활동

Followers: 0   Following: 0

통계

All
  • Thankful Level 2
  • Solver
  • First Answer
  • Thankful Level 1

배지 보기

Feeds

보기 기준

답변 있음
Accessing specific bus elements
I have solved it. Error occurs due to wrong initialization MyData. I have found 2 solutions: 1) In the initial value use struct...

3년 초과 전 | 0

| 수락됨

질문


Accessing specific bus elements
Hello, I create bus (PS_controller) with 2 elements. After that I insert Data Store Memory block into model. I create new data ...

3년 초과 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Find max
Find the maximum value of a given vector or matrix.

3년 초과 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

3년 초과 전

답변 있음
How to use structure pointer as an argument of function in code generation?
Hello Chess, I have solution for your issue. First, it's necessary to create bus in Matlab (it will be structure in generated C...

대략 4년 전 | 0

질문


Code replacement for "add" is not "mw_arm_add_q31"
Hi, I am attempting to generate code for the ARM Cortex-M using Embedded Coder. I am using ARM Cortex-M (CMSIS) code replacemen...

4년 초과 전 | 답변 수: 1 | 1

1

답변

질문


Replace code for subsystem
Hello, Is possible to write Code replacement library (CRL) for custom subsystem? I have found how to write CRL for functions, o...

4년 초과 전 | 답변 수: 1 | 1

1

답변

질문


Generate code from .rtw file
Hello, I have file .rtw from model. Is possible to generate code from them or I must generate code only from model (Build Model...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Is possible to generate code with variable description instead its value?
Hi, I have created model which call C code using MATLAB Function. I want to generate code within Embedded Coder. <</matla...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Has "Sample time" in Simulink some impact on generated code?
Hello, has "Sample time" in Configuration Parameters pane some impact on generated code (by using Simulink coder or Embedded ...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


What is difference between mdlInitializeConditions and mdlStart?
Hello, Is there any difference between mdlInitializeConditions and mdlStart in s-function? Thanks, Vit

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Why I do not see "Embedded coder" pane in Simulink Library Browser and in Configuration parameters of model?
Hi, Can anybody help why I do not see "Embedded Coder" pane in Simulink? <</matlabcentral/answers/uploaded_files/126289/e...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Calling mex function from Simulink
Hello, I have generated mex file by using codegen ( _cfg = coder.config('mex'); codegen -config cfg_ etc.). When I want to a...

거의 6년 전 | 답변 수: 0 | 0

0

답변

질문


Use S-Function parameters from dialog box
Hi, I have created S-Functions with _mdlCheckParameters_ method. I can insert into dialog box numbers in range (0;Inf). How c...

거의 6년 전 | 답변 수: 0 | 0

0

답변

질문


How can I create function with custom data type in Legacy Code Tool?
Hi, I have legacy code (function) in C language. I want to create S-Function with Legacy Code Tool. There is a problem with d...

거의 6년 전 | 답변 수: 1 | 0

1

답변

질문


How to enable floating point number and non-finite number support?
Hi, I created C MEX S-Function (based on timestwo.c) and generated .mexw64 file. I call this function from S-Function blo...

거의 6년 전 | 답변 수: 0 | 0

0

답변

질문


Simulink use user-defined functions
Hi, is possible to call functions (user-defined functions) from Simulink blocks? For example function y = myadd(u,v) %#c...

거의 6년 전 | 답변 수: 1 | 0

1

답변