Answered
customize Simulink Scope - default settings set
This functionality is not available in latest release of MATLAB R2014b. There are couple of workarounds I can think of: * You...

9 years ago | 0

| accepted

Answered
Using set_param to change parameter DataTypes in Packet Input block does not work.
In order to specify the DataTypes, try using ''double'' instead of 'double'. Thanks, Sandip, MathWorks

9 years ago | 0

| accepted

Answered
How can I control power using current in DC/DC converter.
SimElectronics has a DC-DC Converter block: http://www.mathworks.com/help/releases/R2014b/physmod/elec/ref/dcdcconverter.html...

9 years ago | 0

Answered
FatalException Error when opening Simulink
You should try disabling any security software that may be running on your machine, and attempt to launch MATLAB as an administr...

9 years ago | 0

Answered
Example for DSP F28335
There is a example which is using F28335 in Simulink: http://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/examples...

9 years ago | 0

Answered
Report Generator: how to add a line break in Paragraph or Text
When you incorporate a 'text' field, documentation below: http://www.mathworks.com/help/rptgen/ug/text.html There is an opti...

9 years ago | 0

Answered
Is there a way to get the source code for functions in communication system toolbox?
You can always look at the source code of the MATLAB functions which are shipped, for e.g., all the functions on the following l...

9 years ago | 0

| accepted

Answered
recover time history from power spectral data...
The mapping from Power Spectrum back to time history is not unique. By definition, power spectrum has no phase information in th...

9 years ago | 1

| accepted

Answered
Can one run Matlab/Simulink models via Bluetooth on a Lego Mindstorm EV3 brick ?
Sorry, I mis-read the documentation, you are right, as of MATLAB R2014b EV3 is not supported for bluetooth on Simulink yet and o...

9 years ago | 0

| accepted

Answered
Can one run Matlab/Simulink models via Bluetooth on a Lego Mindstorm EV3 brick ?
As mentioned in the documentation here: http://www.mathworks.com/help/supportpkg/legomindstormsev3io/ug/connect-to-an-ev3-bri...

9 years ago | 0

Answered
Back-emf Constant (V/rpm) of PM DC machine
You indeed are correct, it should be V/rad/s compared to the mentioned V/rpm at the following location: http://www.mathworks.co...

9 years ago | 0

Answered
Induction Machine Stator-Rotor turns ratio
I understand you are referring to this Asynchronous machine: http://www.mathworks.com/help/physmod/sps/powersys/ref/asynchron...

9 years ago | 0

Answered
Cannot open source file "Mfx.h", #include "Mfx.h"
This is happening because in Configuration Parameters > Code Generation > Interface > Code replacement library is set to AUTOSAR...

9 years ago | 1

| accepted

Answered
Create a Simulink Library Installer
As per the documentation, need to write a 'slblocks.m' and have the library model together. http://www.mathworks.com/help/sim...

9 years ago | 1

Answered
How to set Default Configuration in Simulink with Commands?
There is a really detailed documentation to do so: http://www.mathworks.com/help/simulink/ug/configuration-set-api.html? T...

9 years ago | 1

Answered
Simulink Embedded Coder C2000 F28069M
As of Embedded Coder R2014b, F28069M is not supported and there is no update to be downloaded to have this hardware show up in t...

9 years ago | 1

Answered
Simulink matrix multiplication error
Based on the error message, it looks like the second signal is 12x1, but the first signal is not as expected, i.e., 4x12. Maybe ...

9 years ago | 1

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

12 years ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

12 years ago

Solved


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

12 years ago

Solved


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

12 years ago

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

12 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

12 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

12 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

12 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

12 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

12 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

12 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

12 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

12 years ago

Load more