已回答
Subsystem can not reference partitioned mask parameter
Hi Devyani, I encountered a similar error with MATLAB R2022b. To resolve it, I changed the "Mask Parameter" property, “tunable...

3 months 前 | 0

| 已接受

已回答
Input hierarchical varying length but constant structure into a MATLAB function within Simulink
Hi Joshua, The error you are getting is expected, since the length of both the strings are different, the compiler interprets ...

3 months 前 | 0

已回答
How to solve 'Make command returned an error of 2'
Hey Marcel, I have faced a similar issue and there was no whitespace in my folder path as well. What worked for me was movin...

3 months 前 | 0

已回答
How to convert simulinlk model as .pmp file to link with freemaster software ?
Hi Paul, There's no need to convert the Simulink model into a PMP file; instead, you can directly use the "NXP Model-Based Des...

3 months 前 | 0

| 已接受

已回答
Arduino Support Package CAN Receiver not working
I had a similar issue working with “Arduino Due” and “MCP2515-based CAN” shield, what worked for me was: Using a new “CA...

4 months 前 | 0

已回答
How to mix gases with different properties in Simulink ?
Hey Guillaume, Connecting three gases won’t mix them, rather it is perceived by Simscape as specifying the domain parameters m...

4 months 前 | 0

已回答
convolution of 2 discrete signal
Hi Hadimargo, Based on your code, and result image, it looks like you want to create a triangular waveform. Here’s how you can...

4 months 前 | 0

已回答
Signal Routing in Simscape
Hey Paul, I had a similar query as well, as of R2024a there is a “Simscape Bus” block, but it cannot be used with “PS Switch” ...

4 months 前 | 0

已回答
安装成功且已选择桌面图标,但桌面上找不到图标,并且电脑应用中没有MATLAB
Hello 佳梦, 我将用英语回答您的问题 Given the limited information, I would recommend you go through the section “Troubleshoot Common Insta...

4 months 前 | 0

已回答
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...

4 months 前 | 0

已回答
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: ...

4 months 前 | 0

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

4 months 前 | 0

已回答
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...

4 months 前 | 0

已回答
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...

4 months 前 | 1

已回答
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 ...

4 months 前 | 0

| 已接受

已回答
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...

4 months 前 | 0

已回答
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...

5 months 前 | 0

已回答
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...

5 months 前 | 0

已回答
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...

5 months 前 | 0

已回答
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...

7 months 前 | 0

已回答
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 ...

7 months 前 | 0

已回答
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...

7 months 前 | 0

| 已接受

已回答
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...

7 months 前 | 0

已回答
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 ...

7 months 前 | 0

已回答
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...

7 months 前 | 1

已回答
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...

7 months 前 | 0

已回答
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 ...

8 months 前 | 0

已回答
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...

8 months 前 | 0

已回答
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...

8 months 前 | 0

已回答
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...

8 months 前 | 0

加载更多