Rajanya
Followers: 0 Following: 0
Feeds
답변 있음
How can I make it so a while loop doesn't stop if one of the elements in a vector going into it fulfills the condition?
Hi @Marcus, As correctly pointed by you, the loop stops because the condition in the while loop is in vectorized form and whene...
How can I make it so a while loop doesn't stop if one of the elements in a vector going into it fulfills the condition?
Hi @Marcus, As correctly pointed by you, the loop stops because the condition in the while loop is in vectorized form and whene...
대략 19시간 전 | 0
답변 있음
Using the parfor loop to minimize a function
Hi @george pepper, The MATLAB documentation of 'parfor' covers how to convert ‘for’ loops into ‘parfor’ loops. You can either s...
Using the parfor loop to minimize a function
Hi @george pepper, The MATLAB documentation of 'parfor' covers how to convert ‘for’ loops into ‘parfor’ loops. You can either s...
대략 19시간 전 | 0
답변 있음
Too many output error message when using function in a for loop
Hi @Brian Hom, The error occurs because the function ‘RFp2overp1’ does not return a value, but the following line in your code ...
Too many output error message when using function in a for loop
Hi @Brian Hom, The error occurs because the function ‘RFp2overp1’ does not return a value, but the following line in your code ...
대략 20시간 전 | 0
답변 있음
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...
2일 전 | 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...
3일 전 | 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...
3일 전 | 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 ...
3일 전 | 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...
4일 전 | 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 ...
4일 전 | 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...
7일 전 | 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...
7일 전 | 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...
9일 전 | 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...
11일 전 | 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...
11일 전 | 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...
11일 전 | 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개월 전 | 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...
대략 2개월 전 | 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 ...
대략 2개월 전 | 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개월 전 | 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개월 전 | 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개월 전 | 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개월 전 | 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개월 전 | 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개월 전 | 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개월 전 | 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개월 전 | 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개월 전 | 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개월 전 | 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개월 전 | 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개월 전 | 0