Answered
how to generate MEX from package function in MATLAB?
Functions within packages are not supported as entry-point functions. (Current as of R2018b) See the following question/answe...

nästan 4 år ago | 1

| accepted

Answered
Online Parameter Estimation of Plant model
The System Identification Toolbox has command-line and Simulink functionality for Online Parameter Estimation: https://www.math...

ungefär 4 år ago | 0

Answered
Rte_Type.h file in generated code for AUTOSAR with Matlab function in Simulink
Try setting the DataScope for the Enum to "Exported": <https://www.mathworks.com/help/simulink/ug/using-enumerated-data-in-si...

nästan 5 år ago | 0

Answered
DAQ USB 6008 is NOT RECOGNIZED
Make sure the Driver version is compatible with your release of MATLAB. Click "Third-Party Requirements" on the right side of fo...

ungefär 5 år ago | 0

Answered
how to make phased.CosineAntennaElement element pattern in z-direction
A linear array or planar array can be used to <https://www.mathworks.com/help/phased/ref/phased.cosineantennaelement-system-obje...

ungefär 5 år ago | 0

Answered
How can I choose the mex c object file (.o) output location?
To debug, you need to add the debug flag -g so that mex knows to compile with debugging symbols: mex -g -v mxisscalar.c -ou...

ungefär 5 år ago | 1

| accepted

Answered
C++ Flags in Legacy Code Tool
While passing '-std=c++11' to the Legacy Code Tool is not currently supported, I have tested the following workaround: # Cons...

mer än 5 år ago | 0

Answered
Getting MATLAB to accept input from external keypad
Since MATLAB displays '4' when you type it on the external keypad, MATLAB does receive signals from the external keypad. This...

mer än 5 år ago | 0

Answered
Script to access Amazon S3 files
Since S3 uses a RESTful architecture, use 'webread' and 'webwrite' to access the S3 bucket. webread: <https://www.mathworks.c...

mer än 5 år ago | 0

Answered
How can I skip some lines in a text file in order to reach a specific one which is in an undefined position?
Use 'fgetl' and 'isequal' to check each line against the specific one. Consider the following text file 'find.txt', and the d...

mer än 5 år ago | 0

Answered
How does the Lasso function handle NaN values?
The lasso function ignores all rows (observations) with NaN values. This can be seen in the code for 'lasso' near line 240 wh...

mer än 5 år ago | 0

| accepted

Answered
Custom C/C++ code block in Simulink Desktop Realtime
Yes, this is possible. See the following page for an example: <https://www.mathworks.com/help/simulink/examples/c-object-meth...

mer än 5 år ago | 0

Answered
Distance between Global Maximum of a Wave Pattern and next Consecutive Maximum/Minimum
To find the next minimum and maximum after the global maximum, use the "findpeaks" function, but limit the data to after the glo...

mer än 5 år ago | 1