Réponse apportée
Simulink Pop Up Message
Use Assertion block.

presque 7 ans il y a | 0

| A accepté

Réponse apportée
How to delay signal input ?
A step function controls a swithch block to switch the signal.

presque 7 ans il y a | 0

Réponse apportée
reshape 3d to 2d array
squeeze() transpose()

presque 7 ans il y a | 1

| A accepté

Réponse apportée
how to find the line number of a point in a vector
a=diff(i) find(a==1) find(a==-1) adjust by 1

presque 7 ans il y a | 2

Réponse apportée
How to update function's variables each sample time
Use persistent variables Persistent

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Using "from file block" not working
Change your simulation "Stop Time" from 10 (default) to whaever you want.

presque 7 ans il y a | 0

Réponse apportée
Call a Simulink Function from a Callback Button
I would think this is not possible. The callback function of the button needs to be MATLAB based. In other words, if the functio...

presque 7 ans il y a | 0

Réponse apportée
The Computed sample time
Based on your specification of Period (secs) and Pulse Width (% of period), Simulink calculated that the time incremental needs ...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
ntwin32.mak not found - R2018b w/ Visual Studio 2017 Pro
Run "mex -setup" and follow instructions.

presque 7 ans il y a | 0

Réponse apportée
Evaluate function real-time in Simulink
Open the MATLAB function, click "Edit Data", specify the "size" of output GX and GY. Most common is the change from "-1" (inheri...

presque 7 ans il y a | 0

Réponse apportée
Using 2D array in 'From workspace' block in simulink
Click "Help" button on the dialog of the "From Workspace" block, open the example model for "Read 2-D Signals in Structure Forma...

presque 7 ans il y a | 0

Réponse apportée
Model initialization from a callback in the mask of simulink Block
There are a few terms involved here. You need to try it out to see if it is possible to achieve what you desire to do. The point...

presque 7 ans il y a | 0

Réponse apportée
How to find signals, which are defined in matlab-workspace, but not used in the SimulinkModel?
Right click on your model, select "Find Reference Variables". Highlight all referenced variables, right click, select "Export Se...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Is there a way to suppress Simulink from being brought to front of screen?
If you used laod_system(), then the Simulink model is not supposed to be visible. open_system() will load it and make it visible...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
How to use the simulation time in MATLAB
Create a 1Hz trigger (e.g. Pulse Generator with amplitude of 1 and period of 1), feed it to a "Not" block and then an "Assertion...

presque 7 ans il y a | 0

Réponse apportée
Simulink: Matlab function block for Charge controller of a solar home system.
Keep in mind that the MATLAB Function block executes once at every simulation step. So I don't think you should use the while-lo...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
simulink real time task excution time
In your task, you might have some conditional statements. If the condition is met, certain codes or blocks are executed thus tak...

presque 7 ans il y a | 0

Réponse apportée
System Design Description Report in 2018b
File > Reports > System Design Description is right at the menu of a Simulink model in MATLAB R2018b. Make sure you have the Sim...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
Convert single string with many numbers to vector
a=str2num(hue);

presque 7 ans il y a | 1

Réponse apportée
Save an output each simulation
In your model, you have a "To Workspace" block logging four signals and writing to a workspace variable "simout". Of course, the...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
Using a bus-signal as an Input into a 'Model'-Block in Simulink
see the demo model: sldemo_mdlref_conversion

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Remove parameters defined in Data Dictionary which are not used reference model
At the root level of your model, right click on the canvas, select "Find Referenced Variables"

presque 7 ans il y a | 2

| A accepté

Réponse apportée
Signal sine wave ??
If there is no constrain, you could multiple the Clock with 2*pi*f, where f is your frequency and then feed it to an "Interprete...

presque 7 ans il y a | 1

Réponse apportée
lookup tables having issue about the monotonically increasing data.
For lookup tabel data, you need to make sure the value of the breakpoint data is strictly increasing.

presque 7 ans il y a | 0

Réponse apportée
How can I programmatically delete a group (test case) from a signalbuilder?
doc signalbuilder Create Signal Builder Block and Delete Group Create a Signal Builder block with two signal groups and dele...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Need to run sl_refresh_customizations each time I open my Simulink project
See Customize Build Process with sl_customization.m

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Every combination of elements
nchoosek(1:4,2)

presque 7 ans il y a | 0

| A accepté

Réponse apportée
How do I get multiple images in Simulink mask editor (Icon Drawing Commands)
You are on the righ track to what you want to achieve. The error is related to something else. For example, 'abc'=='abc ' wou...

presque 7 ans il y a | 0

Réponse apportée
Problem when two Simulink models are combined.
In the two separate models, can you run simulation and log the time? Take a look at the resulting fixed-step size. Do the same f...

presque 7 ans il y a | 0

Réponse apportée
Simulink variable number of input to a block
It could be done. First, understand this Parameterized Links and Self-Modifiable Linked Subsystems Second, construct your mo...

presque 7 ans il y a | 0

| A accepté

Charger plus