Pramil
Followers: 0 Following: 0
Hi
統計
All
Feeds
回答済み
Matlab function in simulink
Hey Vimala, The error you're encountering is related to the output dimensions of the "MATLAB function" block. In your code, y...
Matlab function in simulink
Hey Vimala, The error you're encountering is related to the output dimensions of the "MATLAB function" block. In your code, y...
約17時間 前 | 0
回答済み
Specifying the input names in an automatically generated matlab function
Hi Cosimo, In order to get the results that you want, try the following command which works in both MATLAB R2017b and MATLAB R2...
Specifying the input names in an automatically generated matlab function
Hi Cosimo, In order to get the results that you want, try the following command which works in both MATLAB R2017b and MATLAB R2...
約18時間 前 | 0
回答済み
Is it possible to divide a resource from a resource pool into different percentages?
Hello Prashant, Since your resource is the "trucks", you can define an "Entity Generator" block that mimics the loading behavio...
Is it possible to divide a resource from a resource pool into different percentages?
Hello Prashant, Since your resource is the "trucks", you can define an "Entity Generator" block that mimics the loading behavio...
約22時間 前 | 1
回答済み
How can I display errors with custom error checking rules like shown in the picture
Hello Zhiyun, To create custom checks in Simulink, you can utilize the "Model Advisor" tool. Visit the following link for more ...
How can I display errors with custom error checking rules like shown in the picture
Hello Zhiyun, To create custom checks in Simulink, you can utilize the "Model Advisor" tool. Visit the following link for more ...
2日 前 | 0
回答済み
Put arrow and its value in a plot
Hi Adi, You can use the "text" function available in MATLAB to create plot shown in your image. Here is the documentation link...
Put arrow and its value in a plot
Hi Adi, You can use the "text" function available in MATLAB to create plot shown in your image. Here is the documentation link...
4日 前 | 0
回答済み
Unable to get a certain mass of gas to enter a cosntant volume chamber, build up pressure then leave to go into the rest of the system.
Assuming the value of variable "ptankVolume" to be "1", there are some changes required in your model in order to tackle the war...
Unable to get a certain mass of gas to enter a cosntant volume chamber, build up pressure then leave to go into the rest of the system.
Assuming the value of variable "ptankVolume" to be "1", there are some changes required in your model in order to tackle the war...
5日 前 | 0
回答済み
Model coverage with library blocks and model reference.
Hi Claudio, For your usecase, you can use the Coverage Analyzer app, you can learn more about Simulink coverage here: https://...
Model coverage with library blocks and model reference.
Hi Claudio, For your usecase, you can use the Coverage Analyzer app, you can learn more about Simulink coverage here: https://...
6日 前 | 0
| 採用済み
回答済み
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...
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...
8日 前 | 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...
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...
9日 前 | 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...
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...
9日 前 | 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...
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...
28日 前 | 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...
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...
29日 前 | 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...
¿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...
29日 前 | 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...
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ヶ月 前 | 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...
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ヶ月 前 | 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...
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ヶ月 前 | 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...
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ヶ月 前 | 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...
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...
約2ヶ月 前 | 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...
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...
約2ヶ月 前 | 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 ...
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ヶ月 前 | 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...
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ヶ月 前 | 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...
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ヶ月 前 | 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...
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ヶ月 前 | 0
回答済み
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: ...
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ヶ月 前 | 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” ...
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ヶ月 前 | 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...
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ヶ月 前 | 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...
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ヶ月 前 | 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...
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ヶ月 前 | 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 ...
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ヶ月 前 | 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...
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ヶ月 前 | 0