photo

Pramil


Last seen: Today 自 2023 起处于活动状态

Followers: 0   Following: 0

Hi

统计学

All
  • Solver
  • Knowledgeable Level 2
  • 3 Month Streak
  • First Answer

查看徽章

Feeds

排序方式:

已回答
Error using fclose "No space left on device"
Hi Younes, I faced a similar issue in MATLAB R2020b when I was using "fwrite" after "fread". As written in the following docum...

24 hours 前 | 0

已回答
verification of ccs studio code using simulink
Hi Nilesh, You can use the "S-Function" block to add the "CCS" code into Simulink. You can refer the following link for more in...

2 days 前 | 0

已回答
random number block in Simulink
Hello Anas, In Simulink, the "Random Number" block generates random numbers with a specified mean and variance. However, if you...

2 days 前 | 0

已回答
Ramp up/down function based on the variable input in Simulink/Matlab
Hello Aung, For your use case, the simplest way to generate the specified signal is by utilizing the "Signal Editor" block. Ye...

21 days 前 | 0

已回答
Convert a simulink file to previous version
Hello Bruno, As Yakshraj said, while saving you can select the Simulink version you want to save your model. But if you do not...

22 days 前 | 0

已回答
¿cual es el esquema para la simulación de un generador eléctrico en simulink ?
Hi Jaider, Estaré respondiendo tu consulta en inglés. To model a electric generator in Simulink you can refer the following do...

22 days 前 | 0

已回答
Modeling a resistor using custom Simscape block and lookup tables using data from an excel sheet.
Hi Pranav, For loading external data in a SSC file you can use "MATLAB Declaration Functions". Here is the link for the followi...

1 month 前 | 0

已回答
How can I write to either the MATLAB Command Window or the Simulink Diagnostic Viewer from code called by a C Function block?
Hello Jeff, You can use the "mexPrintf" function for printing messages during runtime on Simulink Diagnostic Viewer from C++ co...

1 month 前 | 0

| 已接受

已回答
Simulaciones de contacto FEM en Matlab
Hola Aurea, Responderé a tu pregunta en inglés In order to model contact between gears or other solid body, you can use Simsca...

1 month 前 | 0

已回答
How to get the computation time of simulinkcomponent(.ssc) in simulink model(.slx)
Hi Usachi, The Simulink Profiler identifies execution time for each and individual blocks present in a model. It works for SS...

1 month 前 | 0

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

1 month 前 | 0

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

1 month 前 | 0

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

2 months 前 | 0

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

2 months 前 | 0

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

2 months 前 | 0

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

2 months 前 | 0

已解决


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

2 months 前

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

2 months 前 | 0

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

2 months 前 | 0

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

2 months 前 | 0

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

2 months 前 | 0

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

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

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

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

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

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

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

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

3 months 前 | 0

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

3 months 前 | 0

加载更多