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...

2 days 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 ...

2 days 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...

2 days 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...

2 days 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...

2 days 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...

2 days 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...

2 days 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...

2 days 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...

2 days ago | 0

| accepted

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

2 days 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...

2 days 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...

2 days 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...

2 days 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...

2 days 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...

2 days 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...

2 days 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...

2 days ago | 0

| accepted

Answered
Why is my model returning only 0s when using Third Party Calibration Tools and the XCP protocol with an STM target?
This may be due to "ON_TARGET_WAIT_FOR_START" being set to 1 while using third-party calibration tools. When simulating with Sim...

2 days ago | 0

| accepted

Answered
Are VISA devices supported with Speedgoat & Simulink Real-Time (SLRT)?
Unfortunately, the VISA libraries have limited portability. This means they work primarily on Windows desktop computers but cann...

2 days ago | 0

| accepted

Answered
How do I migrate my model from the "Simulink Coder Support Package for STMicroelectronics Nucleo Boards" to the "Embedded Coder Support Package for STMicroelectronics STM32 Processors"?
To migrate your model from the Simulink Coder Nucleo package to the Embedded Coder STM32 package, you need to apply the basic st...

2 days ago | 0

| accepted

Answered
Why do I get the MATLAB Coder error 'Computed maximum size exceeds maximum allowed number of elements' when calling 'sum' on an array?
When you call: sum(~isnan(parameterA), [2 3]) or similarly: sum(parameterA, [2 3]) MATLAB uses type inference to determine the...

2 days ago | 0

| accepted

Answered
How to create a report only for overflow result in Polyspace Code Prover
I will explain based on the Polyspace Code Prover demo example. First, select Help > Examples > Code_Prover_Example.psprj ...

2 days ago | 0

| accepted

Answered
Why do I get "Requested array exceeds the maximum possible variable size" error when using "retime" function?
TT2 = retime(TT1,'regular',method,'TimeStep',dt) calculates regularly spaced row times using the time step "dt". The "dt" input ...

2 days ago | 0

| accepted

Answered
Why do I receive a "Failed to connect to the target" error message when running the "stm32f4discovery_asynchronous_scheduling" example using PIL?
PIL is primarily used for algorithm testing and not for modeling real-time behavior. Therefore, Asynchronous Scheduling is not p...

2 days ago | 0

| accepted

Answered
Why do I get too many compilation errors like <identifier "XXX" is undefined> though I added the related header files in Polyspace?
The most frequent compilation issue&nbsp;is caused with undefined identifiers. Here is a troubleshooting section in the document...

2 days ago | 0

| accepted

Answered
How to import Pickle data using Python Interface
You can load Pickle-formatted data into MATLAB by using Python Interface . To call Python modules from MATLAB you must first con...

2 days ago | 0

| accepted

Answered
How to call MATLAB from C/C++ in Windows 10 with IDE, for example, Visual Studio?
============================================================== For an overall guidance about how to call MATLAB in C/C++, pleas...

2 days ago | 1

| accepted

Answered
Why do I recieve the error "Mixed field types in structure arrays are not supported"?
This could be the result fields in the structure's composition that contain datatypes that are not supported for code generation...

2 days ago | 0

| accepted

Answered
Why does Simulink Data Inspector show zeros for logged signals when running a model on a Raspberry Pi in External Mode?
The issue in this case is that concurrent tasks are not mapped to the Simulink blocks in your model, so turning on "ConcurrentTa...

2 days ago | 0

| accepted

Answered
Can I generate code for STM32H7 Boards using Embedded Coder?
R2026a and later Starting R2026a, the Simulink Coder Support Package for STMicroelectronics Nucleo Boards is replaced by the&nbs...

2 days ago | 0

| accepted

Load more