Beantwortet
how to make parameters valid in components of ssc documentaion?
Hi Shang, I am not a expert on SPICE but I can help you with the SSC code. In the "components" attribute, you cannot use a var...

mehr als ein Jahr vor | 0

Beantwortet
Error during FFT analyzer is Simulink
Hi Asmund, I have faced a similar issue while using MATLAB R2024a. The issue seems to stem from the output variable being of ty...

mehr als ein Jahr vor | 0

Beantwortet
Error: Class member redefinition has been found
Hello Maarten, The error you are getting is expected as “dQ” is a node and not a variable. If you try and assign a value to a ...

mehr als ein Jahr vor | 0

Beantwortet
Bus Creator hierarchy conflicting with Bus Objects
Hi Mortiz, I have faced a similar issue, and this error occurs when there is a mismatch between the signal order in the “Bus C...

mehr als ein Jahr vor | 0

Beantwortet
Error using structure in Simulink "propagated signal hierarchy is inconsistent with the bus object"
Hey MarkD, As the error suggests, the “Bus Creator” block expects a data of type “double”, but it receives a data of type “Bus...

mehr als ein Jahr vor | 0

Beantwortet
How to convert a function handle to symbolic function?
Hey Vedant, To resolve the issue, you need to convert the “cfit” object from the curve fitting process into a symbolic express...

mehr als ein Jahr vor | 0

Gelöst


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

mehr als ein Jahr vor

Beantwortet
Running Code Generation Advisor's checks crashes Simulink models (Matlab r2021b)
I faced a similar issue in MATLAB R2021b and upon doing some research online though the crash logs, I found the following EBR: ...

mehr als ein Jahr vor | 0

Beantwortet
Unable to start simulation at condition specified using IC block.
Hello Pranav, The initial “Engine Speed” is “3500” only, it’s not reflected in the scope as you have connected the “IC block” ...

mehr als ein Jahr vor | 0

Beantwortet
simulink for each with a parameter partition that contains data with different size
Hi Gregory, I encountered a similar error with MATLAB R2023b. This seems to be one of the limitations of the “For Each Subsyst...

mehr als ein Jahr vor | 0

Beantwortet
How to run ModelAdvisor by command line???
Hey Galaxy, The error you are getting is expected, the “setCheckResultStatus” method can only be used inside of a “check callb...

mehr als ein Jahr vor | 0

Beantwortet
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...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
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 ...

mehr als ein Jahr vor | 0

Beantwortet
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...

mehr als ein Jahr vor | 0

Beantwortet
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...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
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...

mehr als ein Jahr vor | 0

Beantwortet
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...

mehr als ein Jahr vor | 0

Beantwortet
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...

mehr als ein Jahr vor | 0

Beantwortet
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” ...

mehr als ein Jahr vor | 0

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

mehr als ein Jahr vor | 0

Beantwortet
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...

mehr als ein Jahr vor | 0

Beantwortet
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: ...

mehr als ein Jahr vor | 0

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

mehr als ein Jahr vor | 0

Beantwortet
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...

mehr als ein Jahr vor | 0

Beantwortet
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...

mehr als ein Jahr vor | 1

Beantwortet
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 ...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
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...

mehr als ein Jahr vor | 0

Beantwortet
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...

mehr als ein Jahr vor | 0

Beantwortet
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...

mehr als ein Jahr vor | 0

Beantwortet
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...

mehr als ein Jahr vor | 0

Mehr laden