Rajanya
Followers: 0 Following: 0
Feeds
已回答
Skip for loop iteration if it takes too long to run
Hi @Gauri Kant, You can use the ‘parfeval’ function from MATLAB's Parallel Computing Toolbox to accomplish this, as it allows y...
Skip for loop iteration if it takes too long to run
Hi @Gauri Kant, You can use the ‘parfeval’ function from MATLAB's Parallel Computing Toolbox to accomplish this, as it allows y...
6 hours 前 | 0
已回答
Error using dtstr2dtvecmx Failed on converting date string to date number. Error in datevec (line 117) y = dtstr2dtvecmx(t,icu_dtformat);
Hi @Gregory, I was able to replicate the issue and encountered the same error. The error arises because ‘C_data{1,13}’ contai...
Error using dtstr2dtvecmx Failed on converting date string to date number. Error in datevec (line 117) y = dtstr2dtvecmx(t,icu_dtformat);
Hi @Gregory, I was able to replicate the issue and encountered the same error. The error arises because ‘C_data{1,13}’ contai...
1 day 前 | 0
已回答
Average data through the date
Hi @Thaís Fernandes, From the example provided, it appears you want to calculate average temperatures for specific dates by gro...
Average data through the date
Hi @Thaís Fernandes, From the example provided, it appears you want to calculate average temperatures for specific dates by gro...
1 day 前 | 0
已回答
set the value of multiple fields in an existing struct
Hi @Toolman Thoolen, I understand that you are willing to update the field values in the first structure with the field values ...
set the value of multiple fields in an existing struct
Hi @Toolman Thoolen, I understand that you are willing to update the field values in the first structure with the field values ...
1 day 前 | 0
已回答
Want to have an input in while loop
Hi @Abdulaziz Almuammar, You can use ‘inputdlg’ for this purpose to request input from the user. The following line prompts t...
Want to have an input in while loop
Hi @Abdulaziz Almuammar, You can use ‘inputdlg’ for this purpose to request input from the user. The following line prompts t...
2 days 前 | 0
已回答
Is it possible to access all nested structures in symmetrical struct tree?
Hi @Jostein Holmgren, You can use ‘structfun’ for this purpose. It applies a function to each field in a scalar structure. For ...
Is it possible to access all nested structures in symmetrical struct tree?
Hi @Jostein Holmgren, You can use ‘structfun’ for this purpose. It applies a function to each field in a scalar structure. For ...
2 days 前 | 0
| 已接受
已回答
Binary search of strings/chars
Hi @Jacek Szkutnik, I understand you are aiming to utilize the time efficiency of binary search on a cell array of characters o...
Binary search of strings/chars
Hi @Jacek Szkutnik, I understand you are aiming to utilize the time efficiency of binary search on a cell array of characters o...
5 days 前 | 0
已回答
Problems with matlab calls to starccm+
Hi @ASIDUN, You can refer to the following question which also talks about linking Star CCM+ with MATLAB. https://www.mathwork...
Problems with matlab calls to starccm+
Hi @ASIDUN, You can refer to the following question which also talks about linking Star CCM+ with MATLAB. https://www.mathwork...
5 days 前 | 0
已回答
Diagnostic viewer output in command window?
Hi @Erik Malmlöf, You can use the ‘sldiagviewer.diary’ function to log the diagnostic messages. sldiagviewer.diary type diar...
Diagnostic viewer output in command window?
Hi @Erik Malmlöf, You can use the ‘sldiagviewer.diary’ function to log the diagnostic messages. sldiagviewer.diary type diar...
7 days 前 | 0
已回答
If Action Subsystem block
Hi @Adham, It can be a good idea to just use iterator blocks if you're looking for a loop. But if you strictly want the 'If Act...
If Action Subsystem block
Hi @Adham, It can be a good idea to just use iterator blocks if you're looking for a loop. But if you strictly want the 'If Act...
9 days 前 | 0
已回答
How to link data dictionary variable to an outport??
Hi @satyarajasekhar manne, I understand that you want to link variables from your data dictionary to blocks and ports in your S...
How to link data dictionary variable to an outport??
Hi @satyarajasekhar manne, I understand that you want to link variables from your data dictionary to blocks and ports in your S...
9 days 前 | 0
已回答
How to increase buffer size parameter.
Hi @ovais nazir, I understand that you're addressing the warning message about updating the buffer size parameter for code gene...
How to increase buffer size parameter.
Hi @ovais nazir, I understand that you're addressing the warning message about updating the buffer size parameter for code gene...
9 days 前 | 0
已回答
Saving data from simulink to Database
Hi @David Razo, I understand that you are trying to store sampled data from a Simulink model in a database after every 5 second...
Saving data from simulink to Database
Hi @David Razo, I understand that you are trying to store sampled data from a Simulink model in a database after every 5 second...
1 month 前 | 0
已回答
Write date to mySQL with millisecond precision
Hi @Benjamin Lemmer, I understand that you are trying to insert data containing ‘datetime’ values with millisecond precision in...
Write date to mySQL with millisecond precision
Hi @Benjamin Lemmer, I understand that you are trying to insert data containing ‘datetime’ values with millisecond precision in...
1 month 前 | 0
已回答
mysql values not updating
Hi @Arvind Iyer, I understand that you are trying to update values in a table corresponding to a database in MySQL. Given that ...
mysql values not updating
Hi @Arvind Iyer, I understand that you are trying to update values in a table corresponding to a database in MySQL. Given that ...
1 month 前 | 0
已回答
How can I programmatically override referenced configuration parameters?
Hi @Jonathan Adams, I understand that you are trying to control the configuration parameters of a reference model programmatica...
How can I programmatically override referenced configuration parameters?
Hi @Jonathan Adams, I understand that you are trying to control the configuration parameters of a reference model programmatica...
2 months 前 | 0
已回答
Teleport To Another State Without Using Transition Arrow?
Hi @Amjad, I understand that you are trying to control the state-transitioning in Stateflow programmatically for both in-chart ...
Teleport To Another State Without Using Transition Arrow?
Hi @Amjad, I understand that you are trying to control the state-transitioning in Stateflow programmatically for both in-chart ...
2 months 前 | 0
已回答
How to access Bus Ports parameter from action bar in Buscreator/Busselector blocks?
Hi @Dhines, I understand that you want to access and control the ‘Bus ports’ parameter from action bar in a ‘Bus Creator/ Bus S...
How to access Bus Ports parameter from action bar in Buscreator/Busselector blocks?
Hi @Dhines, I understand that you want to access and control the ‘Bus ports’ parameter from action bar in a ‘Bus Creator/ Bus S...
2 months 前 | 0
已回答
How to add Extracted parameters from Excel file to a data dictionary as a Simulink Parameter Using matlab Code
Hi @Mohamed, I understand that you want to extract rows from an excel file as Simulink parameters and add them as entries to a ...
How to add Extracted parameters from Excel file to a data dictionary as a Simulink Parameter Using matlab Code
Hi @Mohamed, I understand that you want to extract rows from an excel file as Simulink parameters and add them as entries to a ...
2 months 前 | 0
已回答
Creating a resettable timer in Simulink
Hi @Bernaise Anders, I understand that you are trying to build a resettable clock system which can reset itself and start count...
Creating a resettable timer in Simulink
Hi @Bernaise Anders, I understand that you are trying to build a resettable clock system which can reset itself and start count...
2 months 前 | 0
已回答
Call C code function from Stateflow with an array as an input
Hi @Ken Seiders, I understand that you are trying to call a C function which takes an array as an argument, from a Stateflow ch...
Call C code function from Stateflow with an array as an input
Hi @Ken Seiders, I understand that you are trying to call a C function which takes an array as an argument, from a Stateflow ch...
2 months 前 | 0
已回答
Hiding container of a mask using callback/dynamically
Hi @Naman Jain, I understand that you are trying to control the visibility of containers based on a popup parameter value. I wa...
Hiding container of a mask using callback/dynamically
Hi @Naman Jain, I understand that you are trying to control the visibility of containers based on a popup parameter value. I wa...
2 months 前 | 0
已回答
How to change the name of external inputs/outputs in generated code?
Hi @Maksim Sorin, I was able to reproduce the issue on an example Simulink model. The structures generated were as follows: ...
How to change the name of external inputs/outputs in generated code?
Hi @Maksim Sorin, I was able to reproduce the issue on an example Simulink model. The structures generated were as follows: ...
2 months 前 | 0
已回答
Error trying to build an s-function in C
Hi @Pierre-Olivier Desrosiers, I understand that you are trying to make a Simulink model with S-function in C. I was able to re...
Error trying to build an s-function in C
Hi @Pierre-Olivier Desrosiers, I understand that you are trying to make a Simulink model with S-function in C. I was able to re...
2 months 前 | 0
已回答
Variable size signal for integrator in Simulink
Hi @Sam136, I understand that you are passing a variable size input to the integrator block and therefore, Simulink throws the ...
Variable size signal for integrator in Simulink
Hi @Sam136, I understand that you are passing a variable size input to the integrator block and therefore, Simulink throws the ...
3 months 前 | 0
已回答
How to break FOR loop in simulink
Hi @minhkiyo, I understand that you want to implement a break logic in the ‘for iterator’ subsystem in Simulink. Although the...
How to break FOR loop in simulink
Hi @minhkiyo, I understand that you want to implement a break logic in the ‘for iterator’ subsystem in Simulink. Although the...
3 months 前 | 2
已回答
How to update variant subsystem in Test Sequence?
Hi @Xiang Wang, I understand that you want to automate the testing of your subsystems by using the ‘test sequence’ block to swi...
How to update variant subsystem in Test Sequence?
Hi @Xiang Wang, I understand that you want to automate the testing of your subsystems by using the ‘test sequence’ block to swi...
3 months 前 | 0
已回答
Datatip in Model Linearizer window can not be moved, it dissapears
Hi @Slobodan, I was able to reproduce the issue in MATLAB R2023a and am facing the same problem. I then tried with the same bod...
Datatip in Model Linearizer window can not be moved, it dissapears
Hi @Slobodan, I was able to reproduce the issue in MATLAB R2023a and am facing the same problem. I then tried with the same bod...
3 months 前 | 0
已回答
Ho un problema nell'utilizzo, in simulink, del blocco Parameter Writer all'interno del blocco For Each Subsystem
Hi @giuliano d'alterio, I understand that you are trying to implement ‘parameter writer’ blocks to assign properties to a subsy...
Ho un problema nell'utilizzo, in simulink, del blocco Parameter Writer all'interno del blocco For Each Subsystem
Hi @giuliano d'alterio, I understand that you are trying to implement ‘parameter writer’ blocks to assign properties to a subsy...
3 months 前 | 0
已回答
Memory polynomial for a power amplifier
Hi @Ali, The code provided will always throw an error while calculating “a_ji” because the equation in the loops will end up pr...
Memory polynomial for a power amplifier
Hi @Ali, The code provided will always throw an error while calculating “a_ji” because the equation in the loops will end up pr...
3 months 前 | 0