A résolu


Reference Index Number
Given a reference set R of elements (each unique but identical in type), and a list V of elements drawn from the set R, possibly...

plus de 7 ans il y a

A résolu


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

plus de 7 ans il y a

A résolu


Find last zero for each column
Given a numeric array of arbitrary size, return the row index of the last zero for each column. If a column contains all nonzero...

plus de 7 ans il y a

A soumis


Persistent Data for Lookup Tables in Simulink
How to speed up Simulink models that use large lookup tables.

plus de 7 ans il y a | 1 téléchargement |

5.0 / 5
Thumbnail

A soumis


Bessel Zero Solver
Finds the zeros of besselj and bessely in an ordered fashion. No zeros are missed.

plus de 7 ans il y a | 14 téléchargements |

5.0 / 5
Thumbnail

Question


Bug Tracker for Simulation Models
I am looking at tracking bugs in simulation models and m code. Is there a bug tracker that you would recommend for use with MATL...

plus de 7 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How can we generate code from simulink model by command line in windows?
See the simulink documentation. Specifically, <https://www.mathworks.com/help/simulink/functionlist.html?s_cid=doc_ftr Functi...

plus de 7 ans il y a | 0

Réponse apportée
intersection mesh plot (3D)
Without more information, I can only provide hints. Here you go: * If the two surfaces can be thought of as mathematical func...

plus de 7 ans il y a | 1

| A accepté

Réponse apportée
Assign variable to Initialization/Current Workspace
Yeah, don't do this. It will cause you pain. The Simulink tools that track where your variables come form cannot track where you...

presque 8 ans il y a | 0

Réponse apportée
What are your thoughts on Simulink libraries that link to themselves?
I don't like this behavior. I think it is troublesome and easy to break. I am a blockset author and I don't see how this is good...

presque 8 ans il y a | 0

Réponse apportée
Persistence in Lookup Table Data
I found a solution. I posted it to the File Exchange as linked below. The solution is to use |UserData| of a block to store the ...

presque 8 ans il y a | 0

| A accepté

Question


Persistence in Lookup Table Data
I load several large multi-dimensional lookup tables in the initialization of a subsystem that has lookup table blocks. The look...

presque 8 ans il y a | 1 réponse | 0

1

réponse

A soumis


Persistent Example - Loading Data Only When Needed
Working with persistent variables.

presque 8 ans il y a | 1 téléchargement |

0.0 / 5
Thumbnail

Réponse apportée
Sundials Solver in MATLAB/Simulink
Support for Sundials is limited in SimBiology. There is no hint that this will be more broadly available anytime soon. Hint a...

presque 8 ans il y a | 0

| A accepté

Question


Managing High Levels of Variation in a Simulink Library
I am a blockset author similar the authors of "Aerospace Blockset" and "Powertrain Blockset." I build mathematical models of hyd...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Managing High Levels of Variation in a Simulink Library
Mathworks responded to my question. Here is the response. |__________________| Answer to question 1: Don't use the conf...

presque 8 ans il y a | 0

| A accepté

Question


Why does the initialization function in a Simulink subsystem block use an integer rather than the corresponding text string?
There is an example Simulink file attached. I created a parameter on the "Parameter & Dialog" tab called |Parameter1|. |Paramete...

presque 8 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Why does the initialization function in a Simulink subsystem block use an integer rather than the corresponding text string?
To use the text string coming from the popup options, turn off the "evaluate" checkbox as shown below. This allows comparison of...

presque 8 ans il y a | 1

| A accepté

Question


Assign variable to Initialization/Current Workspace
In the mask of a simulink block, I need to loop over a list of variables and values assign them into the initialization workspac...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Why does the Simulink block mask initialization run twice?
The initialization runs twice if "Icons & Ports"-->"Run initialization" is set to "On" or "Analyze" (assuming MATLAB detects the...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
Using Deval with Simulink Output
No, there is not an obvious way to use Deval with Simulink output. However, you can use "Configuration Parameters"-->"Data Impor...

presque 8 ans il y a | 0

| A accepté

Question


What are your thoughts on Simulink libraries that link to themselves?
What are your thoughts on Simulink libraries that link to themselves? They seems to break quite often as you are developing them...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


Is there a clever way to isolate Simulink Parameter callback workspace?
The |run| command runs a script in the |caller| workspace. That got me thinking that there might be a clever way to run code in ...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
How do I compare a Simulink Disabled Library Block Against the Library?
One workaround is to put the blocks that you want to compare in there own models and save them as model1 and model2. Then you ca...

presque 8 ans il y a | 0

Question


Why does the Simulink block mask initialization run twice?
If you are debugging a mask initialization, use the |keyboard| function to stop the code inside the Simulink block mask initiali...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


How do I compare a Simulink Disabled Library Block Against the Library?
# I made a library block. # I made a model that used that library block and I "disabled" the library link. # I want to compa...

presque 8 ans il y a | 2 réponses | 2

2

réponses

A résolu


Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

environ 8 ans il y a

A résolu


The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

environ 8 ans il y a

A résolu


Find the biggest empty box
You are given a matrix that contains only ones and zeros. Think of the ones as columns in an otherwise empty floor plan. You wan...

plus de 8 ans il y a

A résolu


What number has this problem?
This problem is added because it is problem number *???* in the "Community" problems section. <http://www.mathworks.de/matlab...

presque 9 ans il y a

Charger plus