photo

Todd


John Deere Construction & Forestry

Last seen: 9 dagar ago Active since 2011

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

View by

Answered
How can I use sample time internally in Stateflow
Came here to look for a better solution. Here are two imperfect solutions. 1) Use temporal logic, ex. after(5,sec). This make...

ungefär en månad ago | 0

Answered
How to Stop Simulation in Test Sequence Block
One method is to add an output signal that drives a Simulation Stop block.

mer än 2 år ago | 0

Question


Why can't I create a test harness on a subsystem in a reference subsystem?
I can create a Simuilnk Test harness on a subsystem in a model, which is fantastic. However, I cannot create a test harness on a...

nästan 3 år ago | 1 answer | 2

1

answer

Question


How do I create a bus object from existing bus element ports
I can use Simulink.Bus.createObject to create a bus object from a bus creator block. How do I create a bus object from a bus def...

ungefär 3 år ago | 1 answer | 0

1

answer

Answered
how to change the display accuracy of cursor data in simulation data inspector
Here's a workaround: Export the plots to a figure, and you can configure data tip format, and do many other things that you can...

mer än 3 år ago | 0

Answered
How can I find the top level of the entire system from within an active model reference?
If your reference model is open in a tab of your top model (R2020a+) then you can try this: h = gcbp; sys = bdroot(h.getBlock...

ungefär 4 år ago | 0

Answered
cross product of by an array
You can represent a cross product as a matrix product a X b = tilde(a)*b where tilde(a) is a skew-symmetric matrix defined by ...

mer än 4 år ago | 0

Answered
How to implement end position cushioning in a double-acting pneumatic cylinder?
If your cushion works by cutting off air flow out of the cylinder, you can model it as an orifice with an area that changes with...

ungefär 5 år ago | 0

Answered
Why doesn't my Simscape displacement doesn't match input
One factor is that a step has an infinite derivative, so would be highly sensitive to numerical error. You could try replacing ...

ungefär 5 år ago | 1

Answered
How to backup my Matlab Favorites
In R2018b it looks like favorites are stored in FavoriteCommands.xml.

mer än 5 år ago | 4

Answered
emlc generates two different c-files for the same supporting function when building two functions, how do you merge them?
I suppose I could build a library (.lib) for each function. Then I would have redundant object code, but at least I would have ...

mer än 13 år ago | 0

Question


emlc generates two different c-files for the same supporting function when building two functions, how do you merge them?
If I have two functions: function y = fcn1 %#eml A = [ 8 1 3 5 4 9 ]; y = pin...

mer än 13 år ago | 2 answers | 0

2

answers

Question


Specifying function names in generated code using emlc
How do I specify what name emlc will assign to a function that it generates? I'm looking for something like the eml.cstructname...

mer än 13 år ago | 1 answer | 0

1

answer

Question


Specifying inputs/outputs for C-code functions generated from MATLAB m-code using emlc as pass-by-reference
How do I make the generated c-code use pass-by-reference for all inputs and outputs instead of pass-by-value? I am using emlc...

mer än 13 år ago | 1 answer | 1

1

answer