Answered
If I only have MATLAB Runtime, e.g 2024a, can i run mbuild in a compiled cpp file using either the C++ Data Array or mwArray APIs,which generated by C++ Shared Library
Hi Lili, You are facing issues configuring MinGW to work with MATLAB Runtime for compiling C++ files using MATLAB Compiler SDK....

5 months ago | 0

Answered
Using mex -setup with MinGW64 C++ Compiler from a Custom Path
Hi Xueqi, To create an API between MATLAB and C++ that can be used without MATLAB, follow these steps: Changing the Compiler P...

5 months ago | 0

Answered
MPC block in simulink is gives max frequency to stepper motor after setpoint is reached
Hi Anshul, To resolve the issue with your MPC block in Simulink, consider the following key parameters and steps: Sampling Tim...

5 months ago | 0

Answered
How can I synchronize three timers of STM32F446RE board in StmCubeMX timer setting so that the pulses are in phase?
Hi Pooja, To ensure that all three PWM signals are in phase on your STM32F446RE board, you need to synchronize the timers. You ...

5 months ago | 0

Answered
How do I pass an object as parameter in an NMPC block in Simulink?
Hi Marco, To set up NMPC controllers for different plants encapsulated within MATLAB classes, you can try these steps: 1) Crea...

5 months ago | 0

Answered
Why does Speedgoat target not recognize usb device (xsens MTi-680G RS232 converter)?
Hi Pietro, To troubleshoot the issue of not being able to read GNSS data from an XSens MTi-680G via an RS232 converter connecte...

5 months ago | 0

Answered
How can I use a Rician simulation on Passband?
Hi Yedidia, To adapt a simulation for a passband and real-valued output when using MATLAB's "comm.RicianChannel", which inheren...

5 months ago | 0

| accepted

Answered
De-embed S parameters for 3 Fixtures/ Pads
Hi Patrick, To de-embed three fixtures or pads from your Device Under Test (DUT) using MATLAB's 'deembedsparams' function, whic...

5 months ago | 1

| accepted

Answered
DC CURRENT LIMITATION IN FOC OF PMSM
Hi Pratheesh, To limit power in a PMSM vector control system without adding another PI controller, you can directly limit the D...

5 months ago | 0

Answered
Want to know the use of the "config.m.eml" and "logger.m.eml" files.
Hi, The '.m.eml' extensions on your MATLAB files (`config.m.eml` and `logger.m.eml`) are unusual and not standard for MATLAB, s...

5 months ago | 0

Answered
Find index of a nearest value
Hi Adi, The following script should help you find the indices of values closest to given numbers in an array. % Your data x =...

5 months ago | 0

Answered
code written in MATLAB function should be paused for some instant but simulation should never be paused.
Hi Aravind, To control the execution of specific code segments in MATLAB while a simulation runs continuously, you can use the ...

6 months ago | 0

Answered
Can I used hte Spi WriteRead Block with just any SPI device or should it be only with arduino
Hi Mayur, To communicate with an SPI slave device modeled via the FPGA-in-the-Loop (FIL) approach using Simulink's SPI WriteRea...

6 months ago | 0

Answered
How to find confidence interval for not normally distributed data (Bootstrapping)
Hi Shagun, When estimating 95% confidence intervals (CI) for non-normally distributed data in MATLAB, bootstrapping combined wi...

6 months ago | 0

Answered
Trying to generate bode plot data for a 8196 points fft. it takes too long and never ends the calculation, what to do?
Hi Harshul, To speed up Bode and Nyquist plot generation from FFT data in MATLAB, especially with a large dataset, consider the...

6 months ago | 0

Answered
Three phase grid connected inverter-Capacitor in LCL filter
Hi Javed, Adding a capacitor to an LCL filter in a three-phase grid-connected inverter simulation and experiencing waveform dis...

6 months ago | 0

Answered
Export matlab variable to be imported in QGis
Hi Ricardo, To export a 1000x1000 matrix (e.g., sound pressure level data) from MATLAB to a netCDF file compatible with QGIS's ...

6 months ago | 0

Answered
Implementing a seismic source
Hi Ricardo, To create a time-dependent seismic pulse in MATLAB with a moving source, follow these simplified steps: 1. Defin...

6 months ago | 0

Answered
How to wrap up an .exe with input argumentsand launch it from c# ?
Hi Tyreke, The way you're attempting to pass MWCharArray from C# to MATLAB is not directly applicable for a standalone executab...

6 months ago | 0

Answered
Data acquisition problem in Simulink model
Hi Chiara, The issue where a Simulink model stops running properly after the first successful execution could be due to several...

6 months ago | 0

Answered
How to load a .gpx file with an invalid field name
Hi Meg, To address the issue of loading a GPX file in MATLAB when encountering errors due to invalid field names, follow these ...

6 months ago | 0

Answered
Bus for multiple Frames (coordinate reference) to
Hi Marcus, To manage multiple frames from different Body objects in Simscape Multibody more efficiently, you can't directly com...

6 months ago | 0

Answered
Matlab GUI cache file
Hi Ye, To prevent users from accessing source code (.m files) when running a MATLAB GUI program compiled into an executable (EX...

6 months ago | 0

Answered
MATPOWER AND COMPILER SDK
Hi john, To package and deploy a program using MATPOWER for use with MATLAB Production Server to handle HTTP requests, follow t...

6 months ago | 0

Answered
Circle fit in pointcloud, stl
Hi Patrick, To fit a circle to a subset of points from a 3D point cloud at a specific height (-263.6365) in MATLAB, follow thes...

6 months ago | 0

Answered
Matlab include files giving compilation errors
Hi Emmanouil, To resolve the compilation errors you're facing when calling the Matlab Engine in C++ on a Mac, you should speci...

6 months ago | 0

Answered
How to add ThermocoupleType in AppDesigner
Hi Wojciech, When facing the error "Unrecognized method, property, or field 'ThermocoupleTypesAvailable' for class 'daq.ni.Anal...

6 months ago | 0

Answered
How to create a Frequency Spectrum plot from nonlinear equations
Hello PetronasAMG, To create a frequency spectrum from the solutions of nonlinear differential equations solved using `ode45` i...

6 months ago | 0

Answered
Simulink raspberry pi keyboard read
Hello Matt, To get keyboard input into a Simulink program running on a Raspberry Pi, you can use these methods: Use a script (...

6 months ago | 0

Answered
Static or Dynamic Library for S-function
Hi Qusay, To create an S-function in MATLAB/Simulink that links with OpenFAST using static libraries (.a) on macOS, follow thes...

7 months ago | 0

Load more