photo

John Harris


Active since 2016

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 1
  • Knowledgeable Level 1
  • Revival Level 1
  • First Answer

View badges

Feeds

View by

Question


Where can I find the JMAAB guideline Version 5.1
I'm having trouble with some Model Advisor checks (for example mathworks.jmaab.jc_0655) which reference JMAAB guideline Version ...

5 years ago | 1 answer | 3

1

answer

Answered
Simulink closes when I try to add the library model
I've generated the same error while I was editing a custom library block. I'd edit the block then try to put it in a model, wit...

5 years ago | 0

Question


Where can I find the R2018b Update 1 installer?
Where can I find the R2018b Update 1 installer? The Release notes show that Update 1 has some bug fixes And apparently there ...

6 years ago | 2 answers | 1

2

answers

Answered
UnsupportedOperationException: The first invocation of this method cannot be on the MATLAB thread.
Not sure if this will fix it, but check out <https://www.mathworks.com/support/bugreports/1688960 this bug> and install the late...

6 years ago | 2

| accepted

Question


Satisfying hisl_0002: Ensuring input to rem & reciprocal are nonzero
Hi! I have a couple of reciprocal blocks which are getting flagged by a model advisor check (mathworks.hism.hisl_0002). The...

6 years ago | 0 answers | 0

0

answers

Question


Model Advisor changes/problems migrating from R2017b to R2018b
I'm migrating from R2017b to R2018b and, I noticed a couple of changes with Model Advisor: *First*, the tree of available che...

6 years ago | 0 answers | 2

0

answers

Answered
How to put anti wind up (integrator clamping) for PI in simulink
The PID controller uses the Saturation block. If you don't want a Saturation block, or if your max and min are dynamic, you nee...

6 years ago | 0

Question


What is the default numeric type for stateflow charts with the action language set to C?
Model Advisor (R2017b & 2018a) flags this stateflow chart transition with mathworks.iec61508.hisf_0015 <</matlabcentral/answe...

6 years ago | 0 answers | 0

0

answers

Question


Programmatically open ModelExplorer with a data dictionary entry selected?
A custom library block I am working with has a simulink.bus coming out of an enabled subsystem. I want to initialize the bus dat...

6 years ago | 1 answer | 0

1

answer

Question


Can a block mask 'radio button' or 'pop-up' parameter be used as a chart parameter of enumerated type?
Enum sets are great: they give you a pre-defined list of choices. Radio buttons and popup lists are great, too - they do the sa...

6 years ago | 1 answer | 1

1

answer

Question


Iterating s-function parameters with a For-Each subsystem
I am attempting to use an S-function inside a For-Each subsystem. The S-function block has 4 S-function parameters, and I want ...

6 years ago | 1 answer | 0

1

answer

Answered
How to solve error :Operands to the || and && operators must be convertible to logical scalar values.
These produce logical arrays. m>a m>b You might be looking for the all() function, which will produce a single logic...

6 years ago | 1

Answered
How to mix two sound of different channel?
It's that you're trying to add 1-dimensional and 2-dimensional matrix, but look at your dimensions for y1 and y. y1 (and thus, S...

7 years ago | 0

Answered
how can i find the slope for every six rows of my data
Your formula will depend on what kind of answer you want, but I think simple math operators will do most of the work for you. ...

7 years ago | 0

Question


java NullPointerException with R2017b when closing simulink project
I need help tracking down the source of a java error that appears in R2017b, but not in R2016b. Closing a Simulink project w...

7 years ago | 0 answers | 0

0

answers

Answered
MATLAB hangs on function call from Windows system prompt
Mathworks support personnel have been helpful, and indicated this issue is being addressed in a future release (hopefully R2018a...

7 years ago | 0

| accepted

Question


MATLAB hangs on function call from Windows system prompt
In R2017b, I want to verify installation of a toolbox with <https://www.mathworks.com/help/matlab/ref/matlab.addons.installedadd...

7 years ago | 1 answer | 0

1

answer

Answered
How to recognize Stateflow blocks using Simulink API (get_param)?
To expand on <https://www.mathworks.com/matlabcentral/answers/156628-how-to-recognize-stateflow-blocks-using-simulink-api-get_pa...

7 years ago | 4

Answered
How to programmatically access (and edit) bus elements
I wanted to throw a brief update out there about what I ended up with. Thanks to Shivang Menon @ mathworks for some technical s...

8 years ago | 4

| accepted

Question


How to programmatically access (and edit) bus elements
My project has a restriction that bus elements need to be all lowercase. The architecture has bus objects stored in data dicti...

8 years ago | 3 answers | 3

3

answers