Community Profile

photo

GK


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

Followers: 0   Following: 0

연락

Hi, I'm learning to generate application logic and effective code.

통계

  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer

배지 보기

Feeds

보기 기준

질문


Error during code generation for Autosar SWC
Hello & Thank you, I am trying to generate code for my SWC which is Autosar configured. It is able to generate the code in...

대략 4년 전 | 답변 수: 1 | 2

1

답변

질문


How to generate s-function block from Autosar SWC ?
Hello and Thank you, I am trying to generate s-function block from an Autosar SWC, by right click on SWC -> C/C++ Code -> Gener...

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

1

답변

답변 있음
How can I use sample time internally in Stateflow
Also I found another solution on the mentioned mathworks link: https://in.mathworks.com/matlabcentral/answers/54995-how-to-acce...

거의 5년 전 | 0

| 수락됨

질문


How can I use sample time internally in Stateflow
Hello, My fixed solver discrete type model has sample time of 20ms. I want to use this sample time in Stateflow to start a...

거의 5년 전 | 답변 수: 2 | 0

2

답변

질문


Why am I getting 30 breakpoints for a 1-D lookup table?
Why am I getting 30 breakpoints for a 1-D lookup table? Also all the breakpoints are filled with specific values. Is there any ...

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

0

답변

답변 있음
Could anyone help me to solve the error in the following code
You need to have Symbolic Math Toolbox. Please check the link <https://in.mathworks.com/matlabcentral/answers/308136-symsum-un...

5년 초과 전 | 0

답변 있음
How to highlight one connecting line in Simulink?
Hi, As I checked, for a single line originating from 1 port of 1 block, No of linehandles = no of lines between nodes. ...

5년 초과 전 | 0

답변 있음
Simulink error 'Reference to non-existent field 'form'.'
Hi, Two steps to this problem: 1. Is there any stateflow in your model? Please remove it and check simulation. Corrupt MATLA...

5년 초과 전 | 0

답변 있음
how to change multiple elements in a character array at once
You can simply use, Letters(5)='X'; Letters(end)='Z';

5년 초과 전 | 0

답변 있음
How to design up counter using Stateflow and hold it for some interval and decrement it to zero?
Hi, you can design it as mentioned in screenshot. Please check simulating it.

5년 초과 전 | 2

| 수락됨

답변 있음
How to convert a cell array to a double or numeric number and conserve only the needed numeric values?
Hello, you can use textscan() to separate string and numeric vales. textscan() Use '%s' string and '%f' to separate str...

5년 초과 전 | 0

답변 있음
How to load simulink parameters from workspace?
You can use 'fromworkspace' block and mention your parameter in it.

5년 초과 전 | 0

| 수락됨

답변 있음
How to allign signals ?
You can shift the red signal to blue signal by adding difference time(7seconds) to red signal's equation. Red_updated=Red + 7;

5년 초과 전 | 0

| 수락됨

답변 있음
How to extract a specific value from a loop.
Yes you can. 1. If you remove semicolon at the end of expression, MATLAB simply shows it at the command line 2. Alternately, y...

5년 초과 전 | 0

답변 있음
Cannot find MCR Libraries on on Ubuntu
Have you tried copying the files for win to Ubuntu on the same path in MATLAB folder.

5년 초과 전 | 0

답변 있음
How do I remove signal highlighting inside a library in Simulink MATLAB 2016b?
If editing the library does not work, You can 1. Copy the contents of library into model, then 2. Right click "Removing Highl...

5년 초과 전 | 0

질문


1 library block is generated in autocode as 2 different functions. How can I generate 1 common function?
I have created a custom library 'abc' in Simulink and set it as atomic. This atomic library is used at 2 places in the model an...

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

1

답변

질문


Why am I getting following error while simulating a model "Reference to non-existent field 'mexSetEnv'." ?
When I am trying to simulate a model, I'm getting the following error: "Reference to non-existent field 'mexSetEnv'." Recent...

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

0

답변

답변 있음
Why is existing mex file getting deleted while compiling the model?
Thanks for your reply. I understood, But I've a condition. 1. I'm able to generate mex file from a s-function block. 2. I'm un...

거의 6년 전 | 0

질문


Why is existing mex file getting deleted while compiling the model?
I am trying to compile a Simulink model with stateflow present inside. Because of statflow I'm getting following error: * _"Mak...

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

2

답변