Answered
Why am I not able to see all Run-Time check in Review Scope in Polyspace?
Polyspace Code Prover checks run-time errors including "Non-terminating call" and "Non-terminating loop" as the following U...

3 months ago | 0

| accepted

Answered
Can I run MATLAB Code on a Raspberry Pi?
How to run MATLAB code on a Raspberry Pi: While you cannot install the full MATLAB desktop environment directly on a Raspberry P...

3 months ago | 0

| accepted

Answered
MATLAB Function block containing a locally defined "struct" outputs an error that the struct is not defined
In a MATLAB Function Block, compiled code from MATLAB is being "generated" to be included in Simulink. So, to define and declare...

3 months ago | 0

| accepted

Answered
Why can my header file not be found during the build process for my Simulink model?
Simulink will pass the current folder as well as any specified include directories path(s) to the build process. If the header f...

3 months ago | 0

| accepted

Answered
How can I compile a Fortran program using MATLAB Engine in Visual Studio 2019?
Generally, you can use the MATLAB® Editor to write your engine application code and the mex command to build it, as outlined in ...

3 months ago | 0

| accepted

Answered
Missing COMP Block from F28004X Library
You cannot use the COMP blocks from other libraries with the F28004X board. However, you can use a "Memory Copy" block to upda...

3 months ago | 0

| accepted

Answered
Can I change which local client of DOORS is linked with MATLAB?
To link to the correct DOORS server, perform the following steps:Close all instances of MATLAB and DOORSOpen DOORS and login to ...

3 months ago | 0

| accepted

Answered
Why do I see a MATLAB Coder error when building with a Kalman filter?
Kalman filters are a Handle Class Object, and currently can not be inputs or outputs to entry point functions for code generatio...

3 months ago | 0

| accepted

Answered
Why do I encounter compilation issues when multitasking in Polyspace Bug Finder?
When using multitasking with AUTOSAR products (MICROSAR, etc.), there is an ARXML or OIL file type that uses keywords to control...

3 months ago | 0

| accepted

Answered
How can I generate code for my deep neural network with ScalingLayer?
The workaround is to substitute the 'ScalingLayer' with an 'nnet.onnx.layer.ElementwiseAffineLayer'. However, this would involve...

3 months ago | 0

| accepted

Answered
What is the difference between saturation and wrapping for integers?
By default (and when the "Saturation on integer overflow" is checked in MATLAB coder settings), when an arithmetic operation inv...

3 months ago | 1

| accepted

Answered
How can I build a C++ program using MATLAB Engine in Visual Studio?
You can test your build environment first using the "mex" command. You can also get a sample file "main.cpp" file from the "Test...

3 months ago | 0

| accepted

Answered
How can I change the divide function for the training, testing and validation data of my neural network?
Refer to the following documentation page for details about the four different divide functions: https://www.mathworks.com/help...

3 months ago | 0

| accepted

Answered
How can I determine feature importance of an SVM classifier?
In general, unless you are using a linear kernel SVM, it is not possible to use the parameters of an SVM model to analyze the im...

3 months ago | 0

| accepted

Answered
How can the Library Browser display a user-defined library that is part of a user-defined toolbox?
You may do this by adding a “slblocks.m” file to the folder with the library before you package the toolbox. The documentation ...

3 months ago | 0

| accepted

Answered
How do I remove a dynamic property from a class?
In order to remove a dynamic property, save the "meta.DynamicProperty" object that is returned by "addprop" and then use the "de...

3 months ago | 1

| accepted

Answered
How to set Simulink Preferences via the command line approach
You can use the "set_param" function with... 1) the first argument being "0" 2) the second argument being the specific comm...

3 months ago | 0

| accepted

Answered
How can I perform an HTTP POST from a Simulink Model which should also be able to run on a Raspberry Pi?
A possible solution here is to develop your own "Device Driver Block" which would allow you to use "webwrite" as long as your mo...

3 months ago | 1

| accepted

Answered
How to import the data from a password protected XLSX file in MATLAB?
To import the data from the password protected XLSX file you can use any of the following possible solutions: 1. You can import...

3 months ago | 0

| accepted

Answered
Cannot boot Simulink Real-Time kernel from custom target computer
There are multiple reasons why this may happen:It is possible that the custom computer does not have a FAT32 formatted driv...

3 months ago | 0

| accepted

Answered
Why does the neural network training end before reaching the specified maximum number of epochs?
There are many parameters that can cause a neural network to stop training.  As you may know, an epoch is the full pass of...

3 months ago | 1

| accepted

Answered
Using python inside MATLAB: unexpected results when printing Python list inside MATLAB
The MATLAB automatically converts compatible Python data to MATLAB data. For Python types that do not have compatible MATLAB typ...

3 months ago | 0

| accepted

Answered
どのように Stacked Autoencoder でデコード処理までを含ませることができますか?
スタックされたネットワークに対して、 Decoder 側を追加するようなスマートな機能は、Neural Network Toolbox (R2017a) では提供されておりません。  Toolbox で、AutoEncoder の 機能が提供さ...

3 months ago | 0

| accepted

Answered
How do I package custom documentation with my toolbox?
The information on how to do this can be found at the following documentation page: https://www.mathworks.com/help/matlab/matlab...

3 months ago | 1

| accepted

Answered
How do I use the neural network fitting tool to predict targets?
Please try following these steps: 1. To load your data and train and neural network on this data set, please follow the instruc...

3 months ago | 0

| accepted

Answered
How can I use "vpasolve" to get the smallest solution of an equation in an intervial?
There is no way to ask for more than one solution when the input to "vpasolve" is not a polynomial equation. This is because the...

3 months ago | 0

| accepted

Answered
How to update imported ReqIF requirements in Requirements Toolbox while preserving model links?
To preserve the model links, Update Imported Requirements instead of importing the updated requirements as new requirements. The...

3 months ago | 0

| accepted

Answered
How can I make Embedded Coder use "memset" instead of enormous hard-coded constants?
Make sure that the "Inline invariant signals" optimization has been enabled. Run below command in MATLAB 2016b for documentatio...

3 months ago | 0

| accepted

Answered
How can I migrate results from Polyspace Web Metrics to Polyspace Access in MATLAB R2025b?
It is possible to migrate some results from Polyspace Metrics to Polyspace Access, as explained on the "Migrate Results from Pol...

3 months ago | 0

| accepted

Answered
Why do I encounter an error message about a missing 'armclang' license when using the STM32 Embedded Coder Support Package after upgrading to R2025a?
Starting in R2025a, the Embedded Coder Support Package for STMicroelectronics STM32 Processors includes additional support for t...

3 months ago | 1

| accepted

Load more