photo

Luis Ruiz


Last seen: 대략 2개월 전 2018년부터 활동

Followers: 0   Following: 0

통계학

  • First Answer
  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Can we skip states execution in a stateflow diagram?
I have a state flow diagram, is it possible to skip the execution of states if the conditions are met? As shown in this figure,...

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

1

답변

질문


Moving to states without any connection between them
In the following stateflow, is there a way to move from STATE1 to STATE3 without any connection between them? I have a model wi...

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

1

답변

질문


Unit test retrieve failed indexes
I am using the unit test framework, when some of my tests fail I can see that matlab outputs the failed indeces. I can see the ...

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

0

답변

답변 있음
What frustrates you about MATLAB? #2
Promote parameters to signals in Simulink models. It should be possible through some kind of mask. At work, we are running thro...

4년 초과 전 | 0

질문


Retrieve child coverage results from parent model
I am using the coverage toolbox, MATLAB 2018a, these are my settings to get the coverage from a model: load_system( 'my_model' ...

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

1

답변

질문


C file not instrumented for coverage, bad expr node kind
I am using the legacy_code tool to generate some S Functions, then I want the S Functions to be under analysis by the simulink c...

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

0

답변

질문


How to increase the accuracy of autogenerated code?
I have a simulink model that propagates some dynamics based on dynamic equation of motion. I am using simulink autocode to gene...

대략 5년 전 | 답변 수: 0 | 0

0

답변

질문


Return vector in lookup table
How do i construct a lookup table object so the output is a vector? The input of the lookup table is a time vector 1xn. The da...

대략 5년 전 | 답변 수: 0 | 0

0

답변

질문


SIMULINK sending cache files to recycle bin
Whenever I run a SIMULATION, it compiles and run, but SIMULINK sends a bunch of *.err, *.i and *.bat files to the recycle bin, h...

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

0

답변

질문


Use bus as output port in simulink
I created a bus. Then that bus is passed to an output port. When I run: [~,~,Y]=sim( my_model, t ); Simulink complaints bec...

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

1

답변

답변 있음
[DEPRECATED] What frustrates you about MATLAB?
With the Legacy Code tool two dimensional arrays cannot be used, and that is very frustating as matrices are part of the core of...

5년 초과 전 | 0

질문


How to use two dimensional arrays in legacy code?
I have a C function with a structure, inside the struct is a two dimensional array typedef struct { double my_array[3][3]; ...

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

0

답변

질문


Sending SIMULINK cache files to another folder
Is there a way to send the cache files of SIMULINK .slxc to a separate folder when running a simulation?

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

1

답변

질문


DLL from MinGW has different architecture than the host
I am using MinGW to create a shared library, so the shared library is created with extension DLL, and I can use it to link progr...

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

1

답변

질문


Matrix declaration in legacy code
How to use declared C matrices double[3][3] in, legacy code. In the documentation it is specified that matrices should be decla...

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

0

답변

질문


Does variable size definition affect SIMULINK performance? Vector vs Scalar
I have a SIMULINK simulation and as I understand if a define the size of a I/O as let's say it, 3, it means it is a vector, but ...

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

0

답변

질문


Proper way to define port dimensions in SIMULINK
What is the proper way to define port dimensions in SIMULINK? I used to define them as: Port dimensions (-1 for inherited): 4...

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

0

답변

질문


How to handle release and debug version of SIMULINK models?
Is there a way to handle release and debug features of a SIMULINK model efficiently? I have two versions of the same model, one...

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

0

답변

질문


Specify the name of a workspace struct for Simulink coder
I am using Simulink coder to generate C code for a model. Inside the model I am using a workspace struct, this is the same ques...

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

0

답변

질문


How to change signal value at intermediate steps in Simulink?
I have a Simulink model for two sensors. The first sensor has a frequency of 1 Hz and the second at 5 Hz. I am using a rate tran...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


How to change the interpolation method of timeseries inside Simulink?
I have a timeseries object, and I am defining the interpolation method to be cubic Hermitian: hermitian_interp_s = @( new...

대략 6년 전 | 답변 수: 0 | 1

0

답변

질문


Duration in double between two datenum
I have two dates given in text format, I want to have the real duration in seconds between the two values. The answer is -24,...

대략 6년 전 | 답변 수: 3 | 0

3

답변

질문


Correctly define the dimension for a timeseries of scalars
I want to read data from a mat file in Simulink. To create the data file and the bus I am using timeseries objects. dt ...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


How to have multiple seeds for random generation in Simulink?
I have a model in Simulink that uses the `Random Number` block. This `Random Number` block uses a `Seed` value for the generatio...

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

1

답변

질문


How to make a Simulink block constant, execute only once?
I have a model in Simulink (2018a) which has more models inside. So I have: parent.slx --> child.slx I want child.slx ...

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

1

답변

질문


Change format in created C code
I am using Matlab coder to port code to C, e.g. for the next function: function sum_out = my_sum( x ) sum_out = 0; fo...

6년 초과 전 | 답변 수: 2 | 0

2

답변