Feeds
已回答
S-Function vector output without dimension defined
Hi @Luca, It is not possible to define an output (‘y1[]’) with undefined or variable dimension in the ‘OutputFcnSpec’ when usin...
S-Function vector output without dimension defined
Hi @Luca, It is not possible to define an output (‘y1[]’) with undefined or variable dimension in the ‘OutputFcnSpec’ when usin...
3 months 前 | 0
| 已接受
已回答
Simulink联合PX4硬件在环仿真临时文件占C盘空间过大问题,请问如何解决?
Hi @Shengjian, When performing Hardware-in-the-Loop (HIL) simulation with PX4 in Simulink, temporary files can accumulate on yo...
Simulink联合PX4硬件在环仿真临时文件占C盘空间过大问题,请问如何解决?
Hi @Shengjian, When performing Hardware-in-the-Loop (HIL) simulation with PX4 in Simulink, temporary files can accumulate on yo...
3 months 前 | 0
已回答
Why doesn't Simulink call the transformation function for masked inport and outport blocks?
Hi @Jerker A Wågberg, The ‘Inport’ and ‘Outport’ blocks in Simulink do not trigger the transformation function defined in the ‘...
Why doesn't Simulink call the transformation function for masked inport and outport blocks?
Hi @Jerker A Wågberg, The ‘Inport’ and ‘Outport’ blocks in Simulink do not trigger the transformation function defined in the ‘...
3 months 前 | 0
已回答
New MATLAB user: Rosetta 2 or Parallels for Apple M1 MacBook pro?
Hi @Sam, I would recommend installing MATLAB directly on your M1 Mac using ‘Rosetta2’. It will be significantly faster and more...
New MATLAB user: Rosetta 2 or Parallels for Apple M1 MacBook pro?
Hi @Sam, I would recommend installing MATLAB directly on your M1 Mac using ‘Rosetta2’. It will be significantly faster and more...
3 months 前 | 0
已回答
I wonder if there is any way to define the specific use of the Simulink.dd class?
Hi @Ying Fu, You can access the properties of 'Simulink.dd.DefinitonConflictResolution' using the following command: help Sim...
I wonder if there is any way to define the specific use of the Simulink.dd class?
Hi @Ying Fu, You can access the properties of 'Simulink.dd.DefinitonConflictResolution' using the following command: help Sim...
3 months 前 | 0
已回答
Non-linear dynamic of plate using Moving Element Method (MEM)
Hi @Nam Hai, Modelling non-linear plate dynamics using the Moving Element Method (MEM) in MATLAB involves discretizing the plat...
Non-linear dynamic of plate using Moving Element Method (MEM)
Hi @Nam Hai, Modelling non-linear plate dynamics using the Moving Element Method (MEM) in MATLAB involves discretizing the plat...
3 months 前 | 0
已回答
Custom Joint in SIMSCAPE Multibody
Hi @areftr, Yes, it is possible to define a custom multibody joint in Simscape Multibody by implementing a Simscape-based custo...
Custom Joint in SIMSCAPE Multibody
Hi @areftr, Yes, it is possible to define a custom multibody joint in Simscape Multibody by implementing a Simscape-based custo...
3 months 前 | 1
| 已接受
已回答
使用.m脚本如何更新simulink的CCaller的Available Functions — List of available functions
Hi @he, The 'C Caller block' is specifically designed to interface with 'C code', not 'MATLAB.m' scripts. The ‘refresh butto...
使用.m脚本如何更新simulink的CCaller的Available Functions — List of available functions
Hi @he, The 'C Caller block' is specifically designed to interface with 'C code', not 'MATLAB.m' scripts. The ‘refresh butto...
3 months 前 | 0
已回答
Simulink configuration to save/plot data
Hi @JB, According to my understanding, the issue you are facing is likely because you are feeding a 'Mux' block (which combines...
Simulink configuration to save/plot data
Hi @JB, According to my understanding, the issue you are facing is likely because you are feeding a 'Mux' block (which combines...
3 months 前 | 0
已回答
Modelling a Synchronous Generator to estimate the droop constants
Hi @SIRENGO, To model a synchronous generator and determine the droop coefficients in Simulink, you can follow these steps: ...
Modelling a Synchronous Generator to estimate the droop constants
Hi @SIRENGO, To model a synchronous generator and determine the droop coefficients in Simulink, you can follow these steps: ...
4 months 前 | 0
已回答
Execution order of blcks
Hi @Pranav, To guarantee that the Outport executes after all filter calculation in code generation, you should take extra steps...
Execution order of blcks
Hi @Pranav, To guarantee that the Outport executes after all filter calculation in code generation, you should take extra steps...
4 months 前 | 0
| 已接受
已回答
What FLAC compression level does audiowrite use?
Hi @Selene Fregosi, MATLAB’s ‘audiowrite’ function supports writing FLAC files, but unfortunately, it does not provide any para...
What FLAC compression level does audiowrite use?
Hi @Selene Fregosi, MATLAB’s ‘audiowrite’ function supports writing FLAC files, but unfortunately, it does not provide any para...
4 months 前 | 1
| 已接受
已回答
Data Dictionary Not Visible in Model Explorer for Reference Subsystem
Hi @thomas, As per my understanding, you are using a referenced subsystem from another directory, which has its own linked data...
Data Dictionary Not Visible in Model Explorer for Reference Subsystem
Hi @thomas, As per my understanding, you are using a referenced subsystem from another directory, which has its own linked data...
4 months 前 | 0
已回答
Increasing build time of my project when converting configurable to variant subsystem
Hi @Varsha, As you have correctly mentioned that converting a Configurable Subsystem can lead to increased build times, especia...
Increasing build time of my project when converting configurable to variant subsystem
Hi @Varsha, As you have correctly mentioned that converting a Configurable Subsystem can lead to increased build times, especia...
4 months 前 | 1
| 已接受
已回答
Is there any way to create private member variables of a custom data type within autogenerated c++ code from Simulink?
Hi @Alex, To use a custom data type as a private member variable in the C++ class generated by Simulink, you first need to defi...
Is there any way to create private member variables of a custom data type within autogenerated c++ code from Simulink?
Hi @Alex, To use a custom data type as a private member variable in the C++ class generated by Simulink, you first need to defi...
4 months 前 | 0
已回答
Latent ode for mackey glass time series data
Hi @Muhammad, Yes, you can use the ‘Train Latent ODE Network with Irregularly Sampled Time-Series Data’ example for the Mackey-...
Latent ode for mackey glass time series data
Hi @Muhammad, Yes, you can use the ‘Train Latent ODE Network with Irregularly Sampled Time-Series Data’ example for the Mackey-...
5 months 前 | 0
已回答
Matlab shows up twice on dock in macOS
Hi @Itai, As per my understanding, the issue does not seem to be with MATLAB but with macOS. The following steps resolved the ...
Matlab shows up twice on dock in macOS
Hi @Itai, As per my understanding, the issue does not seem to be with MATLAB but with macOS. The following steps resolved the ...
5 months 前 | 0
已回答
How can I change the font size of non-English text, such as Persian, in a Word document?
Hi @Majid kh, There are multiple ways to modify the font size of non-English text in a word document using MATLAB. Following ar...
How can I change the font size of non-English text, such as Persian, in a Word document?
Hi @Majid kh, There are multiple ways to modify the font size of non-English text in a word document using MATLAB. Following ar...
5 months 前 | 0
已回答
Unit problem in a Simscape custom block
Hi @Nils, According to my understanding, the error suggests that there is a mismatch or incorrect assignment of units within th...
Unit problem in a Simscape custom block
Hi @Nils, According to my understanding, the error suggests that there is a mismatch or incorrect assignment of units within th...
5 months 前 | 0
| 已接受
已回答
how to prioritize the out port execution order?
Hi @ED, To ensure that the Outport execution occurs after all filter calculation, you should: Wrap each filter block and out...
how to prioritize the out port execution order?
Hi @ED, To ensure that the Outport execution occurs after all filter calculation, you should: Wrap each filter block and out...
6 months 前 | 0
已回答
Optimization linkage of Six bar Stephenson III mechanism
Hi @AVANISH, I understand that you are looking to optimize the MATLAB code for determining the link lengths of a six-bar mechan...
Optimization linkage of Six bar Stephenson III mechanism
Hi @AVANISH, I understand that you are looking to optimize the MATLAB code for determining the link lengths of a six-bar mechan...
7 months 前 | 0
已回答
Duplicating lines of menu/toolbar when running the APP
Hi @Yan Zihan, I was able to reproduce this behaviour at my end. Based on my observations, you can follow the mentioned workaro...
Duplicating lines of menu/toolbar when running the APP
Hi @Yan Zihan, I was able to reproduce this behaviour at my end. Based on my observations, you can follow the mentioned workaro...
7 months 前 | 0
已回答
Issue with Spectrometer Snapping and GUI updating
Hi @Bera, As you have correctly mentioned about continuously updating the GUI, but using a while loop in a 'callback' function ...
Issue with Spectrometer Snapping and GUI updating
Hi @Bera, As you have correctly mentioned about continuously updating the GUI, but using a while loop in a 'callback' function ...
7 months 前 | 0
已回答
How can i use presave function to prevent a model from saving if there any change had been done
Hi @Vishnu, As you have correctly mentioned, you can use Simulink's 'PreSaveFcn' callback to prevent saving a model after chang...
How can i use presave function to prevent a model from saving if there any change had been done
Hi @Vishnu, As you have correctly mentioned, you can use Simulink's 'PreSaveFcn' callback to prevent saving a model after chang...
7 months 前 | 1
| 已接受
已回答
i have this code that formd Z bus matrix for power systems
Hi @Abdelkrim, In my understanding, your code aims to construct a Z-bus matrix for a power sytem, including the complexities in...
i have this code that formd Z bus matrix for power systems
Hi @Abdelkrim, In my understanding, your code aims to construct a Z-bus matrix for a power sytem, including the complexities in...
7 months 前 | 0
已回答
I cannot configure Matlab in raspberry
Hi @alejandra hernandez, The error message encountered suggests that MATLAB is having trouble accessing removable drives on Mac...
I cannot configure Matlab in raspberry
Hi @alejandra hernandez, The error message encountered suggests that MATLAB is having trouble accessing removable drives on Mac...
7 months 前 | 0
已回答
Adding Distributed generators in Matlab Simulink
Hi @Zenhom mohamed, To add a 'Distributed Generating(DG)' unit to the IEEE 33-bus system in MATLAB Simulink depending on the ty...
Adding Distributed generators in Matlab Simulink
Hi @Zenhom mohamed, To add a 'Distributed Generating(DG)' unit to the IEEE 33-bus system in MATLAB Simulink depending on the ty...
7 months 前 | 0
已回答
Pulse random generator issue
Hi @ibra01, You can use this block to make a pulse random generator: Set the sample time of the model to 6 nanosecond: Yo...
Pulse random generator issue
Hi @ibra01, You can use this block to make a pulse random generator: Set the sample time of the model to 6 nanosecond: Yo...
7 months 前 | 0
已回答
regexp pattern for only allowing numbers at the end of a string?
Hello @Wolf, To include Rule 5 in your regular expression pattern, you need to ensure that after the first occurrence of -5, no...
regexp pattern for only allowing numbers at the end of a string?
Hello @Wolf, To include Rule 5 in your regular expression pattern, you need to ensure that after the first occurrence of -5, no...
7 months 前 | 0
已回答
how to incorporate non instantaneous impulses
Hello @jasmin, To address the query on incorporating non-instantaneous impulses into the given system of equations in MATLAB, h...
how to incorporate non instantaneous impulses
Hello @jasmin, To address the query on incorporating non-instantaneous impulses into the given system of equations in MATLAB, h...
7 months 前 | 0