Daniel
MathWorks
Followers: 0 Following: 0
Trainer in Simulink and HDL Coder.
Spoken Languages:
English
English
Feeds
已回答
Algebraic state in algebraic loop containing ... computed at time 0.0 is Inf or NaN.
I'm having some difficulty seeing exactly where the error is coming from---simulations that fail at the first time step can be a...
Algebraic state in algebraic loop containing ... computed at time 0.0 is Inf or NaN.
I'm having some difficulty seeing exactly where the error is coming from---simulations that fail at the first time step can be a...
2 months 前 | 1
| 已接受
已回答
control simulink panel dashboard programmatically
There is information on how to attach dashboard blocks programmatically here (for the Knob dashboard block, as an example) and h...
control simulink panel dashboard programmatically
There is information on how to attach dashboard blocks programmatically here (for the Knob dashboard block, as an example) and h...
2 months 前 | 0
已回答
Programmatically draw action signal line in a Simulink model
add_line(bdroot,'Switch Case/1','Switch Case Action Subsystem/Ifaction'), or similar. See the doc for the "in" argument to add_l...
Programmatically draw action signal line in a Simulink model
add_line(bdroot,'Switch Case/1','Switch Case Action Subsystem/Ifaction'), or similar. See the doc for the "in" argument to add_l...
3 months 前 | 0
已回答
The error message states: 'Derivative of state '1' in block 'pulse/PV Array/Diode Rsh/Transfer Fcn' at time 0.0 is not finite', How to resolve?
I'm not familiar with the specific block, but usually that message means that there's a value of infinity somewhere in the simul...
The error message states: 'Derivative of state '1' in block 'pulse/PV Array/Diode Rsh/Transfer Fcn' at time 0.0 is not finite', How to resolve?
I'm not familiar with the specific block, but usually that message means that there's a value of infinity somewhere in the simul...
8 months 前 | 0
已回答
How to modify loop code for 3D data?
Based on what I can see, it looks like you're performing processing along one column of input data at a time. To amend that for ...
How to modify loop code for 3D data?
Based on what I can see, it looks like you're performing processing along one column of input data at a time. To amend that for ...
9 months 前 | 0
已回答
Regarding Matlab Simulink - R2019 Version
You should, in many cases, just be able to open and run it in the new MATLAB/Simulink version. Does that work?
Regarding Matlab Simulink - R2019 Version
You should, in many cases, just be able to open and run it in the new MATLAB/Simulink version. Does that work?
9 months 前 | 0
已回答
Fill area between two lines
It's hard to say for sure without seeing the input data, but my guess would be that your xxO is a row vector and your envelopes ...
Fill area between two lines
It's hard to say for sure without seeing the input data, but my guess would be that your xxO is a row vector and your envelopes ...
9 months 前 | 2
已回答
Fourier transform of a function differentiated with respect to time.
If you're invoking fft you're using the Discrete Fourier Transform, and your w values coming out of that function are evenly spa...
Fourier transform of a function differentiated with respect to time.
If you're invoking fft you're using the Discrete Fourier Transform, and your w values coming out of that function are evenly spa...
10 months 前 | 0
| 已接受
已回答
2D phase of Fourier transform is not behaving as expected
There are two issues compounding here to make for the phase shift you're seeing. Issue 1: Careful alignment with the middle of ...
2D phase of Fourier transform is not behaving as expected
There are two issues compounding here to make for the phase shift you're seeing. Issue 1: Careful alignment with the middle of ...
10 months 前 | 1
| 已接受
已回答
Seeking Guidance on Simulink for Modeling an Industrial Gas Burner
Caveat: I know nothing about gas burners specifically. I have a digital background. In general gas burners are systems that pro...
Seeking Guidance on Simulink for Modeling an Industrial Gas Burner
Caveat: I know nothing about gas burners specifically. I have a digital background. In general gas burners are systems that pro...
11 months 前 | 0
| 已接受
已回答
The name of these symbols in Simulink
You can find the type of any Simulink block by double-clicking it. The block parameters will show you the name in the upper left...
The name of these symbols in Simulink
You can find the type of any Simulink block by double-clicking it. The block parameters will show you the name in the upper left...
12 months 前 | 0
已回答
Use polyspace to open or write .m files
If you're just trying to read and write .m files, which are plaintext scripts, you can do this with any plaintext editor. If you...
Use polyspace to open or write .m files
If you're just trying to read and write .m files, which are plaintext scripts, you can do this with any plaintext editor. If you...
1 year 前 | 0
已回答
How to model a transfer function in Simulink?
The Discrete Filter block under Simulink/Discrete should support your needs. You'll just need to simplify numerator and denomina...
How to model a transfer function in Simulink?
The Discrete Filter block under Simulink/Discrete should support your needs. You'll just need to simplify numerator and denomina...
1 year 前 | 1
| 已接受
已回答
Extracting multiple subarrays from a given array in a loop, when the corresponding mulitple start- and end-point pairs are given
You can create a cell array with curly braces: cellArray = {}; Elements of a cell array can be anything, for instance variable...
Extracting multiple subarrays from a given array in a loop, when the corresponding mulitple start- and end-point pairs are given
You can create a cell array with curly braces: cellArray = {}; Elements of a cell array can be anything, for instance variable...
1 year 前 | 0
| 已接受
已回答
I need to add the Microchip PolarFire FPGA "non-ES" version as a HDL WorkFlow Adviser target: "MPF300T-1FCG1152".
I believe devices are loaded into HDL Coder based on the devices supported by the latest tool version MathWorks was able to test...
I need to add the Microchip PolarFire FPGA "non-ES" version as a HDL WorkFlow Adviser target: "MPF300T-1FCG1152".
I believe devices are loaded into HDL Coder based on the devices supported by the latest tool version MathWorks was able to test...
1 year 前 | 0
已回答
Changing the value of column in a file if matches certain criteria of another value
You can approach programming problems in the same basic way as word problems in math or science. What do you need to do? You've...
Changing the value of column in a file if matches certain criteria of another value
You can approach programming problems in the same basic way as word problems in math or science. What do you need to do? You've...
1 year 前 | 0
已回答
Solver error during simulation in matlab simulink R2023a
It's going to be hard to answer this without a little more information, so if you can upload the model that might help. That sa...
Solver error during simulation in matlab simulink R2023a
It's going to be hard to answer this without a little more information, so if you can upload the model that might help. That sa...
1 year 前 | 0
已回答
Cannot find hdlcoder_mixed_nfp_hfp.slx under examples
There's a box on the upper right of the doc page which says "Copy Command". Copying this command and pasting it into your MATLAB...
Cannot find hdlcoder_mixed_nfp_hfp.slx under examples
There's a box on the upper right of the doc page which says "Copy Command". Copying this command and pasting it into your MATLAB...
1 year 前 | 0
已回答
Breaker operation error in parallel solar system
I woud guess that Rsh_array5pc is, at some point during the simulation, dropping to a value very near zero, such that the value ...
Breaker operation error in parallel solar system
I woud guess that Rsh_array5pc is, at some point during the simulation, dropping to a value very near zero, such that the value ...
1 year 前 | 1
| 已接受
已回答
Changing discontinued cwtft function to cwt
It looks like cwtft was removed quite a while back (more than 5 years ago as far as I can tell). It might be a good idea to cont...
Changing discontinued cwtft function to cwt
It looks like cwtft was removed quite a while back (more than 5 years ago as far as I can tell). It might be a good idea to cont...
1 year 前 | 0
已回答
How to get Simulink block name
As documented in the get_param documentation, BlockPaths = get_param(gcs,'blocks') will return the list of blocks at the level o...
How to get Simulink block name
As documented in the get_param documentation, BlockPaths = get_param(gcs,'blocks') will return the list of blocks at the level o...
1 year 前 | 0
已回答
Flip Flops and other logic circuits
The crucial features of paired (transistor) NOR gates which make a flip-flop work are: Propagation delay. Simulink models thing...
Flip Flops and other logic circuits
The crucial features of paired (transistor) NOR gates which make a flip-flop work are: Propagation delay. Simulink models thing...
1 year 前 | 0
已回答
How to plot certain columns from a complex matrix
Assuming that your data input is a simple matrix of double, then: Determine the columns you want to plot. Since I'm assuming yo...
How to plot certain columns from a complex matrix
Assuming that your data input is a simple matrix of double, then: Determine the columns you want to plot. Since I'm assuming yo...
1 year 前 | 0
已回答
What is the output sample rate of the below given code?
Per the comments, the output sample rate is 4800, but the more important question would be what the upsampling ratio is. The rc...
What is the output sample rate of the below given code?
Per the comments, the output sample rate is 4800, but the more important question would be what the upsampling ratio is. The rc...
1 year 前 | 0
已回答
New to simulink, how do I import data from a CSV to be used in a simulation?
The issue you're running into is that Simulink can't import data without knowing the timebase for it. Every input entry has to g...
New to simulink, how do I import data from a CSV to be used in a simulation?
The issue you're running into is that Simulink can't import data without knowing the timebase for it. Every input entry has to g...
1 year 前 | 0
已回答
How to solve "invalid setting for parameter 'Gain' " while trying to simulate with only integral gain of a PID controller?
Although there's not a lot that can be said without seeing the actual model and script involved, the error "Invalid setting ... ...
How to solve "invalid setting for parameter 'Gain' " while trying to simulate with only integral gain of a PID controller?
Although there's not a lot that can be said without seeing the actual model and script involved, the error "Invalid setting ... ...
1 year 前 | 0
已回答
How do you take a set of values in a matrix and normalize them to a 360 degree rotation?
Am I right in thinking you would want to do something like this? [1 0 0 0 1 0 0 0 1] -> [0 90 180 270 0 90 180 270 0] or [1 0...
How do you take a set of values in a matrix and normalize them to a 360 degree rotation?
Am I right in thinking you would want to do something like this? [1 0 0 0 1 0 0 0 1] -> [0 90 180 270 0 90 180 270 0] or [1 0...
1 year 前 | 0
已回答
Filtering out y values
If you're just looking for visual zoom, you can use the ylim command to set the y-limits on a graph. xlim works similarly for x-...
Filtering out y values
If you're just looking for visual zoom, you can use the ylim command to set the y-limits on a graph. xlim works similarly for x-...
1 year 前 | 0
已回答
Simulink start takes long time to compile
In general, setting reference models to Accelerator mode can be useful if they're making your model run slowly. This generates a...
Simulink start takes long time to compile
In general, setting reference models to Accelerator mode can be useful if they're making your model run slowly. This generates a...
1 year 前 | 0
| 已接受
已回答
How to change specific numbers to 0
There are two ways you can select elements of an array in MATLAB. Pass in an array of valid indices. "Valid" means that they're...
How to change specific numbers to 0
There are two ways you can select elements of an array in MATLAB. Pass in an array of valid indices. "Valid" means that they're...
1 year 前 | 0
| 已接受