Community Profile

photo

Jeremy


BorgWarner

Last seen: 2 years ago Active since 2012

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Why does my Simulink model take so long to run?
I am working with a large but new-to-me Simulink model in MatLab 2017A. This model takes over 26 minutes to run, which makes it...

5 years ago | 2 answers | 0

2

answers

Question


Possible bug in Negating a Boolean Input to a Stateflow
I am building a model in 2017A, and spent a few days hunting down what I thought was a logic bug in my code, but now looks like ...

6 years ago | 1 answer | 0

1

answer

Question


Find Library links which could not be resolved
Whenever I open a large model, I get a warning that a linked model can only be found in a case-insensitive match. I don't recog...

6 years ago | 0 answers | 0

0

answers

Question


How to disable warning for Stateflow action language
I am working on a script which temporarily adds content to a Simulink model, builds the model, then removes the new content. I ...

7 years ago | 1 answer | 0

1

answer

Question


M-script to determine if user has administrator rights
I am seeing an issue where my script crashes for some users on some machines, because that user does not have administrative rig...

7 years ago | 3 answers | 0

3

answers

Answered
How to search all parameters of all blocks in a model
I just found an answer to my own question: "find_system('RegExp', 'on', 'BlockDialogParams', '{my data type}')" finds any Sim...

8 years ago | 0

| accepted

Question


How to search all parameters of all blocks in a model
I need my script to find all of the references to a particular data type within a Simulink model. I understand how I could find...

8 years ago | 1 answer | 0

1

answer

Answered
I have just downloaded an updated fixed-license file. How do I activate it?
MathWorks confirmed that my "Activate Software" procedure actually was working. The problems is that the new software license f...

8 years ago | 1

Question


I have just downloaded an updated fixed-license file. How do I activate it?
I recently started to get a message whenever starting MatLab, saying my license will expire in ## days (initially 60 days, decre...

8 years ago | 3 answers | 0

3

answers

Question


Is it possible to use a ConnectionCallback without an External Script?
I would like to enable a callback function for a port connection change, in a block within a blockset I am developing for severa...

9 years ago | 0 answers | 0

0

answers

Question


How can a Script Read a resolved Data Type String?
I need to have my m-script read the data types of several blocks and labeled signals in a Simulink model, immediately after the ...

10 years ago | 1 answer | 0

1

answer

Question


Determine if script will crash due to Read-Only model workspace
I have a script which can be called either from a block's mask parameters being changed, or from the same block's "copyfcn" call...

11 years ago | 0 answers | 0

0

answers

Question


Using just the Get of a GetSet signal (or at least supressing the Set initialization)
I have some code which worked in MatLab 2008b, defining mpt.Signal objects for my Simulink model's inputs and then auto-coding m...

11 years ago | 0 answers | 0

0

answers

Answered
Find name of MPT signal of input line
Unfortunately, that only finds lines which are manually named with the signal name. I need to find where the signal goes from t...

11 years ago | 0

Question


Find name of MPT signal of input line
I have a large Simulink model which includes many signals associated with mpt.Signal objects in the base workspace (so that thes...

11 years ago | 2 answers | 0

2

answers

Answered
Programatically test-run a model before RTW build
I had been trying to figure out when it was done compiling and pause until that time. But then I saw the edits in TAB's first a...

12 years ago | 0

Answered
Programatically test-run a model before RTW build
Thank you both for your answers! I think I can now more clearly define the problem I am having with my model. If I type in my ...

12 years ago | 0

Question


Programatically test-run a model before RTW build
I am working on a script which sets up a few interfaces in a model and then builds it. Normally before running this script, I r...

12 years ago | 5 answers | 0

5

answers

Question


Mask dialog box too small, adds verticle scrollbars
This is a small display issue, but it is annoying. I am developing a custom blockset, using masked subsystems for some of the b...

12 years ago | 1 answer | 0

1

answer