Réponse apportée
Stateflow event not making sense
If you drive a Chart block with an Event, it is executed as an event-driven chart. So, the chart doesn't wake up until t=5 which...

presque 10 ans il y a | 0

Réponse apportée
Getting a propeller to produce lift
You have to implement the rotational speed -> thrust relationship yourself. Check this answer for the same discusion: http://...

presque 10 ans il y a | 0

Réponse apportée
simulink simscape power systems
In R2015b, this is called SimPowerSystems, but same thing... <https://www.mathworks.com/store/link/products/student/ML,SL,SS...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
Can any one send me a simulink model for constant voltage maximum power point tracking MPPT
You should definitely search <http://www.mathworks.com/search/site_search.html?c%255B%255D=entire_site&q=MPPT File Exchange> for...

presque 10 ans il y a | 0

Réponse apportée
Connecting Electrical Nodes on Simulink?
The blocks on the left are from SimPowerSystems while the blocks on the right are from Simscape, so they don't connect directly....

presque 10 ans il y a | 1

| A accepté

Réponse apportée
No Flow in a basic hydraulic system
I think the problem is your Hydraulic Pressure Sensor is connected in series, and is acting as an infinite resistance. Flow sens...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
What is the best way to implement a nonlinear system in Simulink?
Writing MATLAB code via one of the blocks above is useful * If you have pre-existing code and want to integrate it without r...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
Why am I getting wave like this for repeating sequence block?
I'd recommend going to the model's Configuration Parameters. In the Solver pane, ensure the "Max Step Size" value is set to some...

presque 10 ans il y a | 1

Réponse apportée
Physical model connection problem
You'd need to connect a Voltage Sensor between the electrical network and the PS-Simulink Converter. http://www.mathworks.com...

presque 10 ans il y a | 1

| A accepté

Réponse apportée
How to use the Permanent Magnet Synchronus Mashine as a Generator and a Motor
I think the velocity input will always run it as a generator. To be able to switch this, you may have to change the input to mec...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
Simulink Unable to Identify Variable in Base Workspace
Are you calling the command from inside a MATLAB function? If so, you need to make sure to tell the |sim| command to use the ...

presque 10 ans il y a | 0

Réponse apportée
Is it possible to automatically rebuild a Simulink Multibody model using a different CAD file?
Starting with R2016a, Simscape Multibody does allow you to reimport CAD models so long as they are structurally the same -- by t...

presque 10 ans il y a | 1

Réponse apportée
How Do I Set Simscape Multibody Spring Damper Initial Properties?
I think what you want to do is use a Prismatic Joint block instead of a Spring and Damper Force block. This block lets you sp...

presque 10 ans il y a | 1

| A accepté

Réponse apportée
What's the alternative of ode45 function ?
How about this: http://www.mathworks.com/matlabcentral/answers/98293-is-there-a-fixed-step-ordinary-differential-equation-ode...

presque 10 ans il y a | 0

Réponse apportée
Persistent variable clear after simulation with simulink
Yes. This is normal. The persistent variable will persist between time steps of the simulation, i.e., between calls to the MA...

presque 10 ans il y a | 1

| A accepté

Réponse apportée
How to generate code of equal simulink blocks only once?
If you place the LUTs into atomic subsystems, you can take advantage of the Function Packaging options and generate a reusable f...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
Basic question on visualising AC voltage signal in scope
I'm guessing the model you're using is in phasor mode, as that voltage measurement is a complex phasor. The way phasor mode w...

environ 10 ans il y a | 0

Réponse apportée
How to output mass of solid in SimScape multibody
You unfortunately cannot get this information in the latest release so far (R2016a). MathWorks has received quite a few requests...

environ 10 ans il y a | 1

| A accepté

Réponse apportée
How do i find a value of a variable in simulink?
If you're using one of the few latest versions, the easiest thing to do is to open up that Gain block's parameters and right-cli...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
Difference between randi(1,M) and randi() in for loop
Results-wise, there is no difference. Both snippets of code below generate a 5-element vector of random numbers between 1 and 10...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
Count numbers for occurrences
I'm guessing at your variable names and their format... but assuming that UserID and Product are both numeric variables, you can...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
help, urgent: Error using DynamicSystem/lsim
First off, a tip: If you use "urgent" as part of your question, it makes people want to answer it less. Nobody gets special trea...

environ 10 ans il y a | 0

Réponse apportée
how to clear this Error Unable to locate a C-compiler required by Stateflow and MATLAB Function blocks. Use 'mex -setup' to select a supported C-compiler.
Stateflow uses C code generation technology which requires a supported C compiler for your MATLAB version and operating system. ...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
Shift Angle of Three-Phase Transformer (Two Windings)
I think this is because you're measuring phase-to-phase voltage on the Delta side and phase-to-ground on the Wye side. If you...

environ 10 ans il y a | 1

| A accepté

Réponse apportée
Dynamic load implementation used in phasor mode
Exactly as you said -- phasor mode makes the assumption that your whole system is at (or near) the fundamental system frequency....

environ 10 ans il y a | 0

Réponse apportée
how to do animation on gui for 1024 game
Have you looked at this File Exchange entry? http://www.mathworks.com/matlabcentral/fileexchange/46124-2048-matlab-edition ...

environ 10 ans il y a | 0

Réponse apportée
How can I change the format of Subsection headings so that deep headings don't look so plain? (Simulink Report Generator, R2015b, using Word Document (RTF))
If you use the "Word (from template)" output option instead, you can provide your own Word template with custom heading styles. ...

environ 10 ans il y a | 0

Réponse apportée
Help with create Root Locus
There is actually an |rlocus| function in Control System Toolbox. >> rlocus(G) If you want to do all the work yourself f...

environ 10 ans il y a | 0

Réponse apportée
DC motor current transfer function
If I understand your question correctly, the example you linked to has only a single output which is velocity; however you also ...

environ 10 ans il y a | 0

Réponse apportée
How to set a parameter as a variable in a simulink block from Matlab?
I think you're using the |set_param| function correctly, in the form: set_param(blockName,'paramName','variableName') Th...

environ 10 ans il y a | 4

| A accepté

Charger plus