Top 5% contributor
My question deals with the action language used by Stateflow :
when I use something like
x = ...
Asked 1 year ago
When I try to compare a simulink model and its ancestor by using "compare to ancestor" in the simulink project interface I get a...
Asked 2 years ago
set DEBUG_BUILD=1 in the .tmf file used to generate the makefile
For Visual C++ this is
Answered 2 years ago
How do I build a static library (.lib) with debug information using the coder project tool ?
I am using Matlab R2012a on Win...
It seems that Windows prevents from such a focus stealing by default so as to defeat annoying adware ...
A solution can be to...
Answered 3 years ago
With the following lines I can open a Word document in automation mode:
hComServer = actxserver('Word.Application');
Asked 3 years ago
Why can't we use visual C++ 2010 Express with R2012a ?
I use Windows Seven 64 bits
I have installed SDK 7.1 as specified in ...
It works !
as written above (I made a mistake)
Answered 4 years ago
How can I change only one value at a time in a uitable ?
I don't want to update the whole table by something like
Asked 4 years ago
When writing in a multiline edit box I would like to get it scrolled down automatically. How can I do ?
4 years ago
2 years ago
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
9 months ago
Given a and b, return the sum a+b in c.
Given the input n, return true if n is odd or false if n is even.
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.
Reverse the vector elements.
Input x = [1,2,3,4,5,6,7,8,9]
Output y = [9,8,7,6,5,4,3,2,1]
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.]
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN.
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
3 years ago
I am using Matlab Coder and I got the following error :
"In code generation, an existing instance of a handle class handle can ...
set DEGBUG_BUILD = 1 in the makefile produced by Matlab Coder
It is necessary to manually edit the generated makefile ... so ...
With Simulink Coder and using the "rsim" target (rapid simulation) it is possible to produce an executable file.
Is it possibl...
Is it possible to share code between several Embedded Matlab Function blocks rather than to duplicate it ?
For instance, if I ha...
For Simumink blocks with an internal state (such as as unit delay, discrete time integrator, etc ...) the code generated for ini...
Join the conversation