photo

Swastik Sarkar


Last seen: 1 day ago Active since 2023

Followers: 0   Following: 0

Programming Languages:
Python, C++, C, Javascript, Go, MATLAB, SQL, HTML, CSS, Shell
Spoken Languages:
English, Hindi, Bengali
Pronouns:
He/him

Statistics

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

View badges

Feeds

View by

Answered
Speeding up a load file workflow
Hi @Paul, I know of 2 options to load the MAT-files faster, both of which will require the Parallel Computing Toolbox. One app...

19 hours ago | 0

| accepted

Answered
Saving GAmultiobj results calculated in the algorithm mid-way, without stopping the code run.
Hi @Rohit Sachdeva, I was able to use OutputFcn to display the Pareto-front values fval and corresponding x, achieving this wit...

2 days ago | 0

Answered
Is it possible to download the license file for the trial version?
Hi @Mikael, To utilize the trial version for running Simulink, there is no need to pass license server or license information. ...

3 days ago | 0

Answered
Solve ODE with array forcing function
Hi @MR, The ode45 function is typically used with continuous functions. When working with custom discrete functions, interpolat...

4 days ago | 0

| accepted

Answered
Delay in displaying messages in parallel threads with fileSystemWatcher
Hi @Quy, I tried to reproduce the issue using the code provided on MATLAB R2023a and observed that the display does lag behind ...

4 days ago | 0

Answered
How to Add Source Control Buttons to the MATLAB Toolstrip?
Hi @Alexander Hedene, Customizing the Toolstrip in the MATLAB IDE is not supported. This feature is only available in Simulink,...

5 days ago | 0

| accepted

Answered
separate the phasic component from the tonic for the analysis of the GSR electrodermal response.
Hi @JENNIFER, Separating the phasic from the tonic components involves developing respective low-pass and high-pass filters and...

5 days ago | 0

Answered
Second Order PDE solving CFD program
Hi @BoYun, The issue appears to be that the theta values become NaN well before reaching the computeNusseltNumber function. Spe...

11 days ago | 0

Answered
Synchronous machine in simscape specialized power system with isolated starpoint !
Hi @Friedrich Schmidt, While reviewing the Simplified Synchronous Machine documentation, it was found that the neutral wire can...

11 days ago | 0

Answered
Inport/Output ordering on subsystem reference in parent model
Hi @nmb, I have encountered a situation where ports can be easily rearranged by dragging, as described in the following documen...

12 days ago | 0

| accepted

Answered
Algebraic Loops in MATLAB
Hi @Goncalo, The following MATLAB documentation provides details on how Simulink solves algebraic loops: https://www.mathworks....

12 days ago | 0

Answered
MATLAB Function to .NET Application Using MATLAB Data API for .NET with complex data structures (OrderedDictionary<DateTime, double[]> <=> timetables)
Hi @Andy, Below is an example of how to pass a .NET Dictionary to a MATLAB function. For more information, refer to the followi...

1 month ago | 0

Answered
install simulink on docker images
Hi @Adrien, To install Simulink into the mathworks/matlab Docker images using mpm, the following Dockerfile can be utilized. Th...

1 month ago | 0

Answered
Installing Addons from docker image failling
Hi @John Harrison, To install additional products alongside a Docker image running MATLAB, consider using the mpm utility to in...

1 month ago | 0

Answered
Documentation as window next to the folder window
Hi @Martin, With the introduction of web-based documentation in MATLAB, all documentation links now open in the system browser ...

1 month ago | 0

Answered
How to extracting parameters in iterations in genetic algorithms?
Hi @Kiven, The Genetic Algorithm appears to be running in parallel, as indicated by the following configuration: ga_options = ...

1 month ago | 0

Answered
Memory issues using parfeval
Hi @Andre Zeug, The export_figP and evalAfterAll functions can be enhanced for readability and effective management of figures ...

1 month ago | 0

Answered
Speed up algorithm and memory issues
Hi @Elric, The implementation of the code using a parfor loop has resulted in out-of-memory issues. This may occur if the numbe...

1 month ago | 0

Answered
Multi-User Matlab Docker Setup
Hi @Soul45, The specified reasons for using Docker can be addressed without it. easier version managing (just change the tag o...

1 month ago | 0

Answered
How to install Matlab Compiler on VM or Azure for CI/CD build purposes?
Hi @Gregory Province, The Azure pipeline can be used to set up MATLAB CI/CD by utilizing the following extension: https://mark...

1 month ago | 0

Answered
Run MATLAB Test Suite from Azure Pipeline.yml
Hi @Peter, It appears that the unittest libraries of MATLAB are being used to run Simulink tests. However, the sltestmanager sh...

1 month ago | 0

| accepted

Answered
How do I numerically integrate using the composite trapezoidal rule in Matlab?
Hi @Maclane Keohane, The implementation of the composite trapezoid rule appears correct. Below is an enhanced version of the co...

1 month ago | 0

Answered
expanded matrix wont be bigger than 8 by 8
Hi @Olivier, In the provided code, K_global is being initialized to zeros based on the maximum of unique values from the elemen...

1 month ago | 0

Answered
genetic algorithm with SQP for epidemic models
Hi @FORHAD, The following example from the MathWorks File Exchange can assist in getting started with modeling disease spread u...

1 month ago | 0

Answered
Function behaves unexpectedly on array inputs. To improve performance, properly vectorize your function to return an output with the same size and shape as the input arguments
Hi @Elle, While the formula is correct, the MATLAB code provided works well for scalar values but requires element-wise operati...

2 months ago | 0

| accepted

Answered
How to do AUTOSAR testing?
Hi @Venkat Siddarth Reddy, There appears to be a discrepancy between the title of the question and its content. For comprehensi...

2 months ago | 0

Answered
encryption key validation in Audio Steganography project
Hi @Anirban Basuli, An issue has been identified when writing character arrays as uint8 using fwrite, which results in unnecess...

2 months ago | 0

Answered
How can I resolve TCP/IP error in rapid accelerator mode?
Hi @Piotr, It appears that the 'TCP/IP Receive' block being used is not supported for code generation on the selected hardware,...

2 months ago | 0

Answered
Performance of parsim with a large number of simulations
Hi @adrien ameye, It appears that the ShowSimulationManager setting is enabled during the execution of parsim. Disabling this s...

2 months ago | 0

Answered
Error trying to launch QEMU
Hello @Hugh Dowling, The issue described is a recognized bug in MATLAB R2018a. Upgrading to the latest version of MATLAB is rec...

2 months ago | 0

Load more