Answered
How can I call, compile and run c code from Matlab through cygwin?
The following documentation contains some useful information about how to use MATLAB with Cygwin: <http://gnumex.sourceforge....

7 years ago | 0

Answered
How to convolve and plot fft of cosine function
To perform convolution of 2 sequences, the conv() function can be used. To find the length of a sequence, the length() function...

7 years ago | 0

Answered
Setting default initial temperature as variable in simulink
The PostLoadFcn callback in the Model Explorer can be used to initialize a parameter when the model is opened. In Simulink, g...

7 years ago | 0

Answered
Error using fgen Too many input arguments.
The custom function name might be causing the issue. There is a MATLAB in-built function by the name 'fgen', and your code al...

7 years ago | 0

Answered
How to create a function to get bifurcation plot
The following MATLAB Answers post might be a useful starting point for your question: <https://in.mathworks.com/matlabcentral...

7 years ago | 0

Answered
How can I print images to pdf with page size larger than screen size (r2016b, r2017a)? (Warning: An error occurred while drawing the scene)
The issue is likely caused by the 'paperposition' property. Try removing this option. Replace this: set(imageHandle,'pa...

7 years ago | 0

Answered
Input of array into equation won't return array?
Since 'x' is a vector, the '.' operator should be applied for performing division. The '.' operator will perform the operation o...

7 years ago | 1

| accepted

Answered
Simulink Rsim executable libmx.dll missing
1. The DLL is located in MATLABROOT/bin/win32. Add this location to the system environmental variable "Path". 2. This error m...

8 years ago | 0

Answered
Zooming into lines to access context menu
A suggestion on modifying the width of individual lines in a plot: You can create a handle to the plot command and then acces...

8 years ago | 2

Answered
Why is the excel file I export from SIMULINK to MATLAB corrupted?
Hi Justin, I could reproduce the issue you are facing. The issue is with the way in which you are saving the data to the Exce...

8 years ago | 0

Answered
view([0 90]) reset by axis?
This is expected behavior. When using the 'surf' command with the 'view' command and axis limits, axes view of the figure tends ...

8 years ago | 0

| accepted

Answered
I have an existing custom matlab function that I would like to call from a simulink model. Can I do this?
You could use one of these two blocks available in User-Defined Functions: 1. Interpreted MATLAB Function - Applies MATLAB fu...

8 years ago | 0

Answered
How do I print the mask of a Simulink system in vector format?
As I understand, you are looking for a way to print the Block Parameters dialog box of a masked system in Simulink. Unfortunatel...

8 years ago | 0

| accepted

Answered
How to make a pagebreak in report generator by code in Matlab R2015b?
The possibility to add a page break in a word document is not available in MATLAB Report generator before version R2016a. Howeve...

8 years ago | 1

| accepted

Answered
I cant run R2016b at windows 7. I tried compatibility mode in vista service pack 2, windows 2000 and all other options available. Cant start after installation and activation of the matlab at my core i3 HP laptop :(
There are several possible solutions to startup issues where MATLAB fails to launch in Windows. Could you please test the follow...

8 years ago | 0

| accepted

Answered
power point - active x control
You can use the following snippet of code to open a PowerPoint template using ActiveX server: ppt = actxserver('PowerPoint....

8 years ago | 0

Answered
How do I use datainsert/fastinsert functions for an Access database?
The error is likely due to the assignment of fastinsert to curs2. That is not a supported syntax. Instead, try the following to ...

8 years ago | 0

| accepted

Answered
MinGW-w64 compiler
Hi, Please refer the following link to get more information on the possible reasons for the error, and how to troubleshoot th...

8 years ago | 0

Answered
How can I order the factors when using the sym and latex functions?
Morten, You could try the following: 1. Factorize the required symbolic expression using factor(). (result will be a symbo...

8 years ago | 2