Community Profile

photo

William


NASA Marshall Space Flight Ctr

Active since 2013

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


More overhead in R2014a
I recently upgraded to R2014a from R2013b. It seems to take longer to run the same Simulink model in R2014a than R2013b. Dose ...

9 years ago | 0 answers | 0

0

answers

Question


syntax error using roundn in fcn block
I got a syntax erro message on fcn block when I used roundn(u,3) in my Simulink model. Please advise. Thanks.

9 years ago | 0 answers | 0

0

answers

Question


Sample time error in trigger subsystem & support from user community
I kept getting error on smaple time ([0 0] in my trigger subsystem. I tried to set it to -1 or inf but the option was not enabl...

9 years ago | 0 answers | 0

0

answers

Question


Incorect output from Merge block sometimes
The output from the Merge block is not producing the data I expected. I've IF ELSE block in the model. Only the data from the ...

9 years ago | 0 answers | 0

0

answers

Question


Reset counter to non-zero value
Can you strart & rest the countr-limit block to a non-zero value? Thanks.

9 years ago | 0 answers | 0

0

answers

Question


Check memory usage of Simulink model
How can I check the memory usage of a Simulink model? Thanks.

9 years ago | 0 answers | 3

0

answers

Question


Use of bus selector
Bus selection take in 2 inputs but generate 2 outputs. Is there any equivalent but only generate one output? I would like to ...

9 years ago | 0 answers | 0

0

answers

Question


Convert to float/double from Relational Block
I am using "Relational Blcok" to compare to output data (double). Can I output or use the "Data Convert" block to output the sa...

9 years ago | 0 answers | 0

0

answers

Question


Insert table in 1-d lookup table
Is there any good examples of using 1-d lookup table? I wnat to insert an external table into this block in my model. Thanks.

9 years ago | 0 answers | 0

0

answers

Answered
Error in Using set_param
I still got error: "Invalid setting in Constant block 'Constant' for parameter 'Value'. 'x' is in the place of the 'constant' ...

9 years ago | 0

| accepted

Question


Error in Using set_param
I've not been able to set the consant in the "constant" block. I used: set_param('dummy/Constant','x',50) but kept getting ero...

9 years ago | 2 answers | 0

2

answers

Question


Stop Ramp function before simulation time expires
As far as I understand, the value of a Ramp block will keep increasing (or dereasing) depending on the slope. Can you stop the...

10 years ago | 1 answer | 0

1

answer

Question


Make some lines invisible in Time Scope
I attached a PDF format of a Time Scope plot. Is there anyway you can make the data not to be plotted out during the simulation...

10 years ago | 0 answers | 0

0

answers

Question


Output as array in Matlab Fctn block
Does anyone know how to create function with array output in a Matlab Fctn block? I assume you could manupulate the edit data i...

10 years ago | 0 answers | 0

0

answers

Question


Reset value of Ramp block to be used in Matlab Fctn block
Can the initial value of the Ramp block to be reset to its initial value when it reaches certain value (ex: it starts at 2 & ca...

10 years ago | 0 answers | 0

0

answers

Question


Exmple of implementing C code in Simulink
Could someone provide me an example for using C code in Simulink? Thanks.

10 years ago | 1 answer | 0

1

answer

Question


Infinite loop in Matlab Fctn Block
Why did I run into infinite loop (see coode below)? Also, I tried to stop the simulation by clicking on the stop button on the ...

10 years ago | 1 answer | 0

1

answer

Question


Stop simulation in Matlab Fctn block
How can I stop simulation inside the ML Fctn block before it reach the end of the simulation time? Thanks.

10 years ago | 2 answers | 0

2

answers

Question


Set initial value in Matlab Function block
How can I set the initial value for UP? UPI is my initial value input to the block. How can I make sure UP will accepts thhs...

10 years ago | 2 answers | 0

2

answers

Question


About "Matlab Fctn" block
I included a for loop in the ML Fctn block. function [xtest] x=(k) for i=1:10 x=i if (i>5) x=k else x=i ...

10 years ago | 1 answer | 0

1

answer

Question


Enter input value interactively in Matlab
I would like to be able to enter a value interactively in Matlab. However, I am also using the "Matlab Function" block in my Si...

10 years ago | 1 answer | 0

1

answer

Question


About support I have received so far
To be honest, I am disappointed with this user community forum. I posted 2 questions in last 2 days & I think they are simple q...

10 years ago | 2 answers | 0

2

answers

Question


Generate elapsed time in Simulink model
The following commands is to generate elapsed time in Matlab: tic; t=sim('model'); toc Is there a block in Simulink to do th...

10 years ago | 1 answer | 0

1

answer

Question


Block for Matlab function in Simulink
I got the error when I ran this model. The error is on variable UL in the Matlab function block. Any suggestion? Thanks.

10 years ago | 0 answers | 0

0

answers

Question


Ramp function in Matlab
I know there is a block for ramp function in Simulink. Is there a similar function in Matlab instead of using for loop?

10 years ago | 1 answer | 0

1

answer

Answered
Block in Simulink to indicate on-off state of a valve
I used this block before. I want to include a block which indicates the state of the valve if the pressure exceeds certain lim...

10 years ago | 0

Question


Block in Simulink to indicate on-off state of a valve
Hi, this question should be simple for experience Simulink user. I want to create a Simulink model for a simple controller. Th...

10 years ago | 2 answers | 0

2

answers

Answered
Embeded existing C code in a Simulink model
One more question: The C code example in the manual has a function ("doubleIt") & returns one output. The C code I want to imp...

10 years ago | 0

Answered
Embeded existing C code in a Simulink model
The example for Legacy Code tool only applied to one input & one output from the C code. Can we specify multiple inputs & outpu...

10 years ago | 0

Answered
Embeded existing C code in a Simulink model
Is there any tool in Simulink libray you can embed the C code w/o using Matlab?

10 years ago | 0

Load more