Respondida
How i can add a car image to yellow boxes and at y coordinate 4,5,6 a road image? (Sorry i have low vocabulary of English).
Hi Abdul, The “imagesc” function can only plot heatmaps, to add roads and cars to your animation you can explore the “plot(sce...

3 meses hace | 0

Respondida
set non-tunable parameters to get rid of inferred variable size matrix error in simulink
Hi Katherine, I have faced a similar issue. You can follow the steps mentioned in the following MATLAB answer to resolve it: ...

3 meses hace | 0

Respondida
想问一下,为什么不能够同时测量齿轮工具箱两侧的扭矩
Hi 彬 魏, 我将用英语回答您的询问 To measure torque using an "Ideal Torque Sensor," it must be connected in series. In the first image, th...

3 meses hace | 0

Respondida
FMU export Algebraic loop error
Hi Om, As the error suggests, your model contains an algebraic loop and before generating ‘FMU’ for the same you need to elim...

3 meses hace | 0

Respondida
Not able to run simulations using Rapid accelerator
Hi Eduardo, The “Rapid Accelerator” mode in Simulink, generates executable C files and in turn uses them to decrease the simul...

3 meses hace | 1

Respondida
iam unable to see output for open ciruit voltage of pv array. it is showing as ''nan''
Hi Paradesi, I have faced a similar issue, this seems to be a limitation of the “PV Array” block. I have tried simulating the ...

3 meses hace | 0

| aceptada

Respondida
Error: output is inferred as a variable-size matrix, but its size is specified as inherited or fixed.
The output “y” has a size that depends on the input data “u”. Simulink assumes the output to be of variable size. However, the o...

3 meses hace | 0

Respondida
Algebraic loops are not supported in generated code. Use the 'ashow' command in the Simulink Debugger to see the algebraic loops
Hi Emre, As the error suggests, your model contains an algebraic loop and before generating code for the same you need to elim...

4 meses hace | 0

Respondida
The TCP/IP function of Simulink
Hi Jiaji, If you can send “sine wave” then “clock” should also work assuming that your TCP/IP echo server is still running. Yo...

4 meses hace | 0

Respondida
How to turn off interpolation data..?
Hi Vinay, The error you are getting is expected, since by default, data interpolation is turned on in “inport” block. To pass e...

4 meses hace | 0

Respondida
Why is Simulink Variant Manager unable to find the Simulink.VariantControl object that controls the active choice of Simulink.VariantVariable objects?
Hi Yingao, I faced the same issue with MATLAB R2021b, updating to the next version that is MATLAB R2022a resolved the issue fo...

6 meses hace | 0

Respondida
Table transform - rows to variable number of columns
Hi Lauren, To achieve the said transformation without using the “for” loop, you can do the following in MATLAB R2021b: data ...

6 meses hace | 0

Respondida
Bus elements with multiple dimensions
Hi Alborz, To create a Bus Object “B” that contains a single Bus Element “S” which itself represents a structure with three ti...

6 meses hace | 0

| aceptada

Respondida
Getting transfer function from simulink circuit using linear analysis tool
Hi Ben, Assuming you are getting this error when you drag and drop the “System Object” directly onto the “MATLAB Base Workspac...

6 meses hace | 0

Respondida
Modularized masked Matlab functions of a plant model with nonlinear mpc
Hi Osamah, Yes, using modularized masked blocks to represent different components of a plant in Simulink is possible, you can ...

6 meses hace | 0

Respondida
How to find package functions that are shadowed?
Hi per, This is one of the limitations of the “which” function and as of MATLAB R2024a, using the syntax: which(‘some.packag...

6 meses hace | 1

Respondida
Real Frequency Technique program
Yes, follow the steps outlined in the MATLAB example in the following link to create your new matching components: https://www...

6 meses hace | 0

Respondida
Calling a Function Within A Mask
Hi katherine, As per my understanding you want to pass your “mask variable(s)” through some function before passing them to a ...

7 meses hace | 0

Respondida
Assigning elements or an array within a Bus
Hi Paul, The method you're using for assigning values to the elements within the “Bus Structure” involves a loop to assign val...

7 meses hace | 0

Respondida
How can I create an isodose band from the imaged provided?
Hi Naomi, Assuming plotting an “isodose” curve means drawing contours at specific intensity levels. Here's how you can do it u...

7 meses hace | 0

Respondida
Block Wise FFT on Audio Signal
Hi Sree, You can use the built-in MATLAB functions “fft” and “ifft” to address the described problem. Here is a code that wo...

7 meses hace | 0

Respondida
how to plot in simulink
Hello Prajwal N, What Manikanta Aditya suggests works but if you do not want to save your output and just want to plot, you ...

8 meses hace | 0

| aceptada

Respondida
variable capacitance configuration with the look up table
Hi mohamed, Assuming you want to control your “Variable Capacitor” block with the help of the “Lookup Table” block, you can do ...

8 meses hace | 0

Respondida
Change specific colour in an image
Hi Phat, What you are doing is correct, but in MATLAB pixel values are normalized that means each pixel ranges from “0” to “1”...

8 meses hace | 0

Respondida
Lookup table object from another object
Hi Thomas, It is not a bug. As of MATLAB R2023b, it is not possible to directly reference a “Lookup Table” object through ano...

8 meses hace | 0

Respondida
Changing the size of an array in a referenced masked model
As of MATLAB R2023b there is no possible way to pass value into a parameter of a masked model with dimensions other than the one...

8 meses hace | 0

Respondida
How model a heat transfer between to different materials in simscape
For modelling heat transfer between two cubes as rightly suggested by Carlos, you can use two “Conductive Heat Transfer” blocks ...

9 meses hace | 0

Respondida
Manage multiple data sources in Simulink
In scenarios where multiple Simulink models are involved, what I like to do is summarised in the following points: I save the ...

9 meses hace | 0

Respondida
Simulink Error fzero must always return a real value
The error that you are getting is because at “x=1” for certain combinations of “m”,” n”,” xego” and “yego” the denominator of th...

9 meses hace | 0

Respondida
How to read data form simulink in time
To access block data in this case ‘position’ value and use this to limit ‘velocity’, you can use a “feedback loop”. You can do t...

9 meses hace | 0

Cargar más