Archit Dhanani
MathWorks
Followers: 0 Following: 0
Feeds
답변 있음
Varying duty cycle PWM using pulse generator
Hi, you can try to use Variable pulse generator or PWM block in the Simulink/Discontinuous library. https://www.mathworks.com/h...
Varying duty cycle PWM using pulse generator
Hi, you can try to use Variable pulse generator or PWM block in the Simulink/Discontinuous library. https://www.mathworks.com/h...
3년 초과 전 | 0
답변 있음
Is there a PWM block available in Simulink?
We shipped a new PWM block in the Simulink library in R2020b. It is placed under Discontinuities library. Please check it out. ...
Is there a PWM block available in Simulink?
We shipped a new PWM block in the Simulink library in R2020b. It is placed under Discontinuities library. Please check it out. ...
거의 4년 전 | 0
답변 있음
How to get the available annotation list of a Simulink block from command line
Here is the list of all the parameters: https://www.mathworks.com/help/simulink/slref/common-block-parameters.html?searchHighli...
How to get the available annotation list of a Simulink block from command line
Here is the list of all the parameters: https://www.mathworks.com/help/simulink/slref/common-block-parameters.html?searchHighli...
대략 5년 전 | 0
답변 있음
Is exist any way for generate include and source files from Simulink model in different folders?
Hi Marat, Unfortunately, there is no direct way of doing this. You will have to write a custom TLC file to control this. Here i...
Is exist any way for generate include and source files from Simulink model in different folders?
Hi Marat, Unfortunately, there is no direct way of doing this. You will have to write a custom TLC file to control this. Here i...
대략 5년 전 | 1
답변 있음
How to set a Simulink block parameter as a variable and update using Matlab?
You could use a model callback in this case if you have not already tried this: https://www.mathworks.com/help/simulink/ug/crea...
How to set a Simulink block parameter as a variable and update using Matlab?
You could use a model callback in this case if you have not already tried this: https://www.mathworks.com/help/simulink/ug/crea...
5년 초과 전 | 0
| 수락됨
답변 있음
Issue to export C++ simulink code - parameter output
You could try using the data type replacement option: https://www.mathworks.com/help/releases/R2019a/ecoder/ug/control-data-typ...
Issue to export C++ simulink code - parameter output
You could try using the data type replacement option: https://www.mathworks.com/help/releases/R2019a/ecoder/ug/control-data-typ...
5년 초과 전 | 0
답변 있음
C s-function
You can take a look at the example: sfcndemo_csparam Also, you can take a look at the doc: https://www.mathworks.com/help/sim...
C s-function
You can take a look at the example: sfcndemo_csparam Also, you can take a look at the doc: https://www.mathworks.com/help/sim...
5년 초과 전 | 0
답변 있음
Simulink system object Coder
System objects in general can be used in Simulink and MATLAB. There is no difference between them. This blog explains system obj...
Simulink system object Coder
System objects in general can be used in Simulink and MATLAB. There is no difference between them. This blog explains system obj...
5년 초과 전 | 0
답변 있음
how to make a error management section model
You could use this as a starting point: https://www.mathworks.com/help/simulink/ug/customize-simulation-error-messages.html
how to make a error management section model
You could use this as a starting point: https://www.mathworks.com/help/simulink/ug/customize-simulation-error-messages.html
5년 초과 전 | 0
답변 있음
Not enough input arguments on setup function of Level 2 S Function
The internal architecture calls the setup function with one argument while compiling the SFunction. setup(block) Since we hav...
Not enough input arguments on setup function of Level 2 S Function
The internal architecture calls the setup function with one argument while compiling the SFunction. setup(block) Since we hav...
5년 초과 전 | 0
답변 있음
What is the proper use of programmatic simulink interface : model(t,x,u,flag)? Can I use it to step forward through a simulation while synchronising it with an external matlab script progress.
This could be useful in this case: https://www.mathworks.com/help/simulink/ug/saving-and-restoring-simulation-operating-point.h...
What is the proper use of programmatic simulink interface : model(t,x,u,flag)? Can I use it to step forward through a simulation while synchronising it with an external matlab script progress.
This could be useful in this case: https://www.mathworks.com/help/simulink/ug/saving-and-restoring-simulation-operating-point.h...
5년 초과 전 | 0
답변 있음
Is there a way to generate a C Source Mex file out of a Simulink model?
writing a tlc file for the SFunction will assist in code generation. You can read the discussion on the page below: https://www...
Is there a way to generate a C Source Mex file out of a Simulink model?
writing a tlc file for the SFunction will assist in code generation. You can read the discussion on the page below: https://www...
5년 초과 전 | 0
답변 있음
what kind of sample times is allowed in iterator subsystem?
The documentation says: The While Iterator Subsystem and For Iterator Subsystem blocks must not contain blocks with continuous s...
what kind of sample times is allowed in iterator subsystem?
The documentation says: The While Iterator Subsystem and For Iterator Subsystem blocks must not contain blocks with continuous s...
5년 초과 전 | 0
답변 있음
How to handle BusCreator programatically
Unfortunately, there is no get_param API for this parameter. (As of R2019a ) the documentation says Note: The Require input si...
How to handle BusCreator programatically
Unfortunately, there is no get_param API for this parameter. (As of R2019a ) the documentation says Note: The Require input si...
5년 초과 전 | 0
답변 있음
Use fixed-step solver ode1 to execute variable sample time Zero Order Hold
Simulink supports variable sample times for variable-step solvers only. You can read more about this in the page: https://www.m...
Use fixed-step solver ode1 to execute variable sample time Zero Order Hold
Simulink supports variable sample times for variable-step solvers only. You can read more about this in the page: https://www.m...
5년 초과 전 | 0
답변 있음
Derivative, integrator or memory blocks in while iterator block
This page might help you understand why these blocks error out in the iterator subsystem: https://www.mathworks.com/help/simuli...
Derivative, integrator or memory blocks in while iterator block
This page might help you understand why these blocks error out in the iterator subsystem: https://www.mathworks.com/help/simuli...
5년 초과 전 | 0
답변 있음
Why does NextTimeHit always return 0 in Matlab S-Functions?
the NextTimeHit is the API used specifically for variable discrete rates. You can read more about it in the page: https://www....
Why does NextTimeHit always return 0 in Matlab S-Functions?
the NextTimeHit is the API used specifically for variable discrete rates. You can read more about it in the page: https://www....
5년 초과 전 | 1
| 수락됨
답변 있음
Warning about discontinuous signal feeding continuous states, while there are no continuous states?
Hi Alexander, Since I have not looked at the model, I cannot be sure. But the reason, the diagnostic is issued, is the Simulink...
Warning about discontinuous signal feeding continuous states, while there are no continuous states?
Hi Alexander, Since I have not looked at the model, I cannot be sure. But the reason, the diagnostic is issued, is the Simulink...
5년 초과 전 | 0
답변 있음
How does the implementation of sample time for system objects work?
Hi Fabian, I am not sure if there are specific example demostrating this in System objects. There are SFunction examples which...
How does the implementation of sample time for system objects work?
Hi Fabian, I am not sure if there are specific example demostrating this in System objects. There are SFunction examples which...
5년 초과 전 | 0
답변 있음
How to convert Fixed-in-Minor-Step to Continuous in Simulink?
There is a shipped SFunction 'sfun_d2c' which you could try using. It provides algorithms that essentially performs a linear ext...
How to convert Fixed-in-Minor-Step to Continuous in Simulink?
There is a shipped SFunction 'sfun_d2c' which you could try using. It provides algorithms that essentially performs a linear ext...
5년 초과 전 | 0
답변 있음
how do I use TLC for ssSetTimeOfNextVarHit so that I can use rapid accelerator mode
Hi Michael, Have you already tried to use the function LibSetVarNextHitTime? This should help. If not, please go ahead and cre...
how do I use TLC for ssSetTimeOfNextVarHit so that I can use rapid accelerator mode
Hi Michael, Have you already tried to use the function LibSetVarNextHitTime? This should help. If not, please go ahead and cre...
5년 초과 전 | 0