Answered

How to export Simulink model to Functional Mockup Unit (FMU) for use in other modeling tools?

Starting in R2018b, the ability to export a Simulink model to FMU was added in a MathWorks-provided support package: "Tool-...

How to export Simulink model to Functional Mockup Unit (FMU) for use in other modeling tools?

Starting in R2018b, the ability to export a Simulink model to FMU was added in a MathWorks-provided support package: "Tool-...

10 hours ago | 1

| accepted

Question

How to export Simulink model to Functional Mockup Unit (FMU) for use in other modeling tools?

I need to export part of a Simulink model in a way that I can integrate it into an existing Dymola model. Is it possible to crea...

10 hours ago | 3 answers | 0

Answered

Why do I receive an error while running an example titled 'Wireless Network Hardware Implementation with SDR' submitted by MathWorks Communications Toolbox Team in File Exchange?

The model works fine in in R2017b, but not in R2018a and R2018b. The issue arises because the default value of 'ConcatenateD...

Why do I receive an error while running an example titled 'Wireless Network Hardware Implementation with SDR' submitted by MathWorks Communications Toolbox Team in File Exchange?

The model works fine in in R2017b, but not in R2018a and R2018b. The issue arises because the default value of 'ConcatenateD...

18 hours ago | 0

| accepted

Question

Why do I receive an error while running an example titled 'Wireless Network Hardware Implementation with SDR' submitted by MathWorks Communications Toolbox Team in File Exchange?

I was trying out an example submitted by MathWorks Communications Toolbox Team in File Exchange, titled 'Wireless Network Ha...

18 hours ago | 1 answer | 0

Answered

Why do I get an extract error while installing MATLAB?

*Cause:* The error usually shows that the installer could not extract the .zip file packaged with the installer. * *Adminis...

Why do I get an extract error while installing MATLAB?

*Cause:* The error usually shows that the installer could not extract the .zip file packaged with the installer. * *Adminis...

21 hours ago | 0

| accepted

Answered

How do I split a table into multiple sub-tables based on the frequency of a variable?

One approach to solve this issue is to use categorical variables, which will allow you to identify the frequencies of each entri...

How do I split a table into multiple sub-tables based on the frequency of a variable?

One approach to solve this issue is to use categorical variables, which will allow you to identify the frequencies of each entri...

21 hours ago | 0

| accepted

Answered

How do I change my Y-axis (or X-axis) values to percentage units and have these changes reflected on the axis?

If you would like to merely add a percentage sign ('%') to your tick labels, without changing the scaling of the labels ...

How do I change my Y-axis (or X-axis) values to percentage units and have these changes reflected on the axis?

If you would like to merely add a percentage sign ('%') to your tick labels, without changing the scaling of the labels ...

21 hours ago | 2

| accepted

Answered

Why does my data run into "Estimated GARCH model is invalid" error?

This error is caused by limitations on the numerical maximum likelihood. The warning message suggests that the segments of the d...

Why does my data run into "Estimated GARCH model is invalid" error?

This error is caused by limitations on the numerical maximum likelihood. The warning message suggests that the segments of the d...

21 hours ago | 0

| accepted

Answered

Is there a tool to check for compatibility between different MATLAB versions?

*For MATLAB R2017b and newer ONLY:* Yes, we do have a tool to create a codeCompatibilityReport for the current working folder...

Is there a tool to check for compatibility between different MATLAB versions?

*For MATLAB R2017b and newer ONLY:* Yes, we do have a tool to create a codeCompatibilityReport for the current working folder...

21 hours ago | 0

| accepted

Answered

How can I use "mexPrintf" for simulation and "printf" for code generation in a MATLAB Function Block using coder.ceval?

You can use the "MATLAB_MEX_FILE" C preprocessor macro in your custom C code to determine whether you are compiling fo...

How can I use "mexPrintf" for simulation and "printf" for code generation in a MATLAB Function Block using coder.ceval?

You can use the "MATLAB_MEX_FILE" C preprocessor macro in your custom C code to determine whether you are compiling fo...

21 hours ago | 0

| accepted

Answered

Why am I continuously prompted to activate when I try to launch MATLAB?

The most common reason that MATLAB will continuously prompt you for activation is that due to limited user permissions, administ...

Why am I continuously prompted to activate when I try to launch MATLAB?

The most common reason that MATLAB will continuously prompt you for activation is that due to limited user permissions, administ...

21 hours ago | 7

| accepted

Answered

How do I use multiple colormaps in a single figure in R2014b and later?

What is a Colormap? Colormaps are associated with axes and figures. A colormap is matrix of values between 0 and 1 that defin...

How do I use multiple colormaps in a single figure in R2014b and later?

What is a Colormap? Colormaps are associated with axes and figures. A colormap is matrix of values between 0 and 1 that defin...

21 hours ago | 0

| accepted

Answered

Why the response of my transfer function is very erratic when using a sine wave input data using a "From Workspace" block?

1) One possible reason you see the erratic result is because the data you feed in has high frequency content (could be due to th...

Why the response of my transfer function is very erratic when using a sine wave input data using a "From Workspace" block?

1) One possible reason you see the erratic result is because the data you feed in has high frequency content (could be due to th...

21 hours ago | 1

| accepted

Answered

How can I view available GPUs and perform GPU benchmark tests in MATLAB?

Perform the following steps to identify the GPU devices available on a computer running MATLAB: 1) Execute the following comman...

How can I view available GPUs and perform GPU benchmark tests in MATLAB?

Perform the following steps to identify the GPU devices available on a computer running MATLAB: 1) Execute the following comman...

21 hours ago | 2

| accepted

Answered

Why do I get algebraic loop error when using PV Array?

The error is likely resulted from the algebraic loop inside the PV Array as described in this page: <https://www.mathworks.com/...

Why do I get algebraic loop error when using PV Array?

The error is likely resulted from the algebraic loop inside the PV Array as described in this page: <https://www.mathworks.com/...

21 hours ago | 0

| accepted

Question

Why does my data run into "Estimated GARCH model is invalid" error?

I run into a warning and an error in a particular iteration of garch analysis inside a for-loop using GARCH(1,1) model to estima...

21 hours ago | 1 answer | 0

Question

How do I split a table into multiple sub-tables based on the frequency of a variable?

I have an existing table and would like to make subsets of this table conditionally based on how often entries appear in one of ...

21 hours ago | 1 answer | 0

Question

Is there a tool to check for compatibility between different MATLAB versions?

Is there a tool to check for compatibility issues between the different MATLAB versions? Is there any way to check M scripts for...

21 hours ago | 1 answer | 0

Question

Why do I get an extract error while installing MATLAB?

When running the MATLAB installer, I get an extract error that says the system cannot find the path specified. Why do I get thi...

21 hours ago | 1 answer | 0

Question

How do I change my Y-axis (or X-axis) values to percentage units and have these changes reflected on the axis?

For some plot, say PLOT(0:.1:1), the y-axis tick marks are specified without units at each tick mark. I would like to change th...

21 hours ago | 2 answers | 1

Question

How can I view available GPUs and perform GPU benchmark tests in MATLAB?

I am using MATLAB and want to know which GPU device on my computer is available for use within MATLAB? I would also like to perf...

21 hours ago | 1 answer | 1

Question

How can I use "mexPrintf" for simulation and "printf" for code generation in a MATLAB Function Block using coder.ceval?

I am using a MATLAB Function block in my Simulink model. My MATLAB function calls a custom C functions using "coder.ceval&q...

21 hours ago | 1 answer | 0

Question

Why do I get algebraic loop error when using PV Array?

When I try to run the PV Array in Simscape, the following error is returned: ERROR: Block diagram 'pvArray' contains...

21 hours ago | 1 answer | 0

Question

Why am I continuously prompted to activate when I try to launch MATLAB?

I am trying to activate and use MATLAB. Every time I start MATLAB, it asks me to activate, even though I complete the process an...

21 hours ago | 5 answers | 10

Question

Why the response of my transfer function is very erratic when using a sine wave input data using a "From Workspace" block?

I have a transfer function that I simulate in Simulink. When I use the Sine Wave block as an input to the transfer function, I ...

21 hours ago | 1 answer | 0

Question

How do I use multiple colormaps in a single figure in R2014b and later?

I have a figure in which I wish to use multiple colormaps. I would also like to know where the colormaps are stored and what are...

21 hours ago | 1 answer | 0

Answered

Why do I receive the message "No matching files were found" in HDL Workflow Advisor Step 4.2 "Build FPGA Bitstream"?

This is a generic error message. Most likely, something went wrong during the build in the synthesis tool (e.g. Xilinx Vivado, I...

Why do I receive the message "No matching files were found" in HDL Workflow Advisor Step 4.2 "Build FPGA Bitstream"?

This is a generic error message. Most likely, something went wrong during the build in the synthesis tool (e.g. Xilinx Vivado, I...

1 day ago | 0

| accepted

Question

Why do I receive the message "No matching files were found" in HDL Workflow Advisor Step 4.2 "Build FPGA Bitstream"?

Using HDL Workflow Advisor to generate an IP Core for my target, why do I receive the message Failed No matching files...

1 day ago | 1 answer | 0

Answered

How do I obtain a demo of using Simulink and Real-Time Workshop® Embedded Coder for DO-178B applications?

General Simulink Coder and Embedded Coder examples can be found at: <http://www.mathworks.com/help/releases/R2013a/rtw/examples...

How do I obtain a demo of using Simulink and Real-Time Workshop® Embedded Coder for DO-178B applications?

General Simulink Coder and Embedded Coder examples can be found at: <http://www.mathworks.com/help/releases/R2013a/rtw/examples...

4 days ago | 0

| accepted

Answered

How can I tune the PID parameters of the PMSM Field-Oriented Control block?

Since the PMSM Field-Oriented Control Block is an advanced controller that is not supported by the auto-tuning workflow, there a...

How can I tune the PID parameters of the PMSM Field-Oriented Control block?

Since the PMSM Field-Oriented Control Block is an advanced controller that is not supported by the auto-tuning workflow, there a...

4 days ago | 0

| accepted