Feeds
提问
How to discover all submodels within a simulink model programmatically ?
I would like to find all models contained in a simulink model programmatically ? Is there a way to do that for instance with th...
3 years 前 | 1 个回答 | 0
1
个回答已回答
How do I change the Temporary Directory that MATLAB uses?
Use setenv('TMP','NEW_DIRECTORY_PATH') instead of setenv('TEMP','NEW_DIRECTORY_PATH')
How do I change the Temporary Directory that MATLAB uses?
Use setenv('TMP','NEW_DIRECTORY_PATH') instead of setenv('TEMP','NEW_DIRECTORY_PATH')
3 years 前 | 2
已提交
Trojan Asteroids Simulation
Simulation of Trojan Asteroids of a Binary System
5 years 前 | 3 次下载 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/dad5e2bc-5a83-4782-8279-43cc9fc03947/4ba9cd6a-ec7c-4972-a4ed-e51950e1e7af/images/screenshot.jpg)
已解决
The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...
6 years 前
提问
How to unload a library linked to a S-Function ?
I have built a S-Function with S-Function builder (R2015a 32 bits on windows, compiler Visual Studio C++ Pro 10) This S-Functio...
7 years 前 | 1 个回答 | 0
1
个回答提问
Word automation : how to bring the document to the front ?
With the following lines I can open a Word document in automation mode: hComServer = actxserver('Word.Application'); hCo...
8 years 前 | 2 个回答 | 0
2
个回答提问
Simulink "For each subsystem" and random generator
How can I initialize a random generator block in a "For Each Susbystem" block so that the output is different for each instance ...
8 years 前 | 0 个回答 | 0
0
个回答已解决
Create times-tables
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...
10 years 前
提问
stateflow action language if else construct
My question deals with the action language used by Stateflow : when I use something like during: if (i==2) x = ...
11 years 前 | 2 个回答 | 0
2
个回答已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
11 years 前
已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
11 years 前
已解决
Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.
11 years 前
已解决
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
11 years 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
11 years 前
已提交
Simulink to MS Word Easy Navigation
Open a Word document at a specific bookmark location by a double click in a Simulink Model
11 years 前 | 1 次下载 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/36754/versions/3/screenshot.jpg)
已提交
Simulink to MS Powerpoint Easy Navigation
Open a Powerpoint document at a specific slide location by a double click in a Simulink Model
11 years 前 | 1 次下载 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/39303/versions/1/screenshot.jpg)
已解决
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 前
已解决
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 前
已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
12 years 前
提问
Simulink model comparison with R2012b
When I try to compare a simulink model and its ancestor by using "compare to ancestor" in the simulink project interface I get a...
12 years 前 | 2 个回答 | 0
2
个回答提问
Code generation and class handle
I am using Matlab Coder and I got the following error : "In code generation, an existing instance of a handle class handle can ...
12 years 前 | 1 个回答 | 0
1
个回答已回答
Matlab coder : static library with debug information
set DEBUG_BUILD=1 in the .tmf file used to generate the makefile For Visual C++ this is "R2012a\toolbox\coder\rtw\c\xrt\xr...
Matlab coder : static library with debug information
set DEBUG_BUILD=1 in the .tmf file used to generate the makefile For Visual C++ this is "R2012a\toolbox\coder\rtw\c\xrt\xr...
12 years 前 | 0
| 已接受
已回答
Matlab coder : static library with debug information
set DEGBUG_BUILD = 1 in the makefile produced by Matlab Coder It is necessary to manually edit the generated makefile ... so ...
Matlab coder : static library with debug information
set DEGBUG_BUILD = 1 in the makefile produced by Matlab Coder It is necessary to manually edit the generated makefile ... so ...
12 years 前 | 0
提问
Matlab coder : static library with debug information
How do I build a static library (.lib) with debug information using the coder project tool ? I am using Matlab R2012a on Win...
12 years 前 | 2 个回答 | 0
2
个回答已回答
Word automation : how to bring the document to the front ?
It seems that Windows prevents from such a focus stealing by default so as to defeat annoying adware ... A solution can be to...
Word automation : how to bring the document to the front ?
It seems that Windows prevents from such a focus stealing by default so as to defeat annoying adware ... A solution can be to...
12 years 前 | 0
| 已接受
提问
Simulink standalone executable
With Simulink Coder and using the "rsim" target (rapid simulation) it is possible to produce an executable file. Is it possibl...
12 years 前 | 1 个回答 | 0
1
个回答提问
why can't we use visual C++ express 2010 with R2012a ?
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 ...
12 years 前 | 1 个回答 | 1
1
个回答已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
12 years 前