Greg
Gulfstream Aerospace
Followers: 0 Following: 0
Professional Interests: Aerodynamics
Feeds
문제를 풀었습니다
Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.
7년 초과 전
답변 있음
removing ticks
I realize this is a pretty old thread, but I think I've figured out what might have been causing a lot of the confusion in there...
removing ticks
I realize this is a pretty old thread, but I think I've figured out what might have been causing a lot of the confusion in there...
대략 9년 전 | 1
질문
MATLAB Coder "Style" Options when Generating .mex-File
When using the MATLAB Coder to create a .mex-file, the "Code Style" settings in the GUI settings menu are not available. They o...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Simulink.BlockDiagram.getInitialStates and Configuration Set References
Does setting up a Simulink model to use a configuration set completely preclude the possibility of using |Simulink.BlockDiagram....
10년 초과 전 | 답변 수: 0 | 1
0
답변질문
Variable-Sized Output from MATLAB Function block
I'm trying to create a MATLAB Function block with a variable-sized output in a Simulink model (R2014A and R2013B). All that's...
10년 초과 전 | 답변 수: 3 | 0
3
답변질문
Can a Bus be Used as an Input to a MATLAB System Block?
I'm playing with the new (R2013b) Simulink "MATLAB System" block, but I can't seem to find any way to connect Bus object inputs ...
대략 11년 전 | 답변 수: 1 | 0
1
답변질문
MATLAB Function Blocks with Large Data Structures
I'm building a Simulink model using MATLAB Function Blocks to run some fairly large, complicated functions (the biggest are ~500...
11년 초과 전 | 답변 수: 0 | 0
0
답변질문
States Not Visible in Coder-Generated S-Function Blocks
I'm trying to use the Simulink coder to codegen a fairly complex model into an S-Function block in order to improve the performa...
11년 초과 전 | 답변 수: 0 | 0
0
답변질문
Accessing the State of a Simulink Memory Block
Is it impossible to get/set the state of a Memory block in a Simulink model? When I create the simplest possible model with a M...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
Using Simulink Coder-Generated Shared Object Libraries Inside MATLAB
Is it possible to create a shared object library (.dll or .so file) with the Simulink Coder toolbox (specifically the ert_shrlib...
11년 초과 전 | 답변 수: 0 | 0
0
답변질문
Converting a Nonvirtual Bus to Another Bus Type
In a model, I have a very large data bus (~600 signals) and I want to take a selection of the signals on that bus (~200 signals)...
11년 초과 전 | 답변 수: 0 | 0
0
답변질문
Can I Define Bus Objects in Model Workspaces?
Is it completely impossible to define Simulink.Bus objects in any workspace other than the base Matlab workspace? I'm working o...
11년 초과 전 | 답변 수: 1 | 1
1
답변질문
Simulink Performance of Large Numbers of Outports
I'm building a Simulink model that's going to be a referenced as a Reference Model inside a larger simulation. The only functio...
11년 초과 전 | 답변 수: 0 | 0
0
답변질문
Simulink Compiler Errors and Compiler Selection
Hi, I'm trying to compile and run Simulink models on a 32-bit Windows machine which I already know run just fine on a 64-bit ...
11년 초과 전 | 답변 수: 0 | 0
0
답변문제를 풀었습니다
Generate a NaN...on purpose
The goal is to create a function that will return a single "NaN" without using the nan function. I am interested to see how many...
11년 초과 전
질문
How to Programmatically Disable the "Tunable" Option for a Matlab Funcion Block Parameter
I'm trying to use a script to build a Simulink model with a "Matlab Function Block" in it. The method <http://www.mathworks.com...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
Inability to clear object definition - nonfunctional "clear classes"
I'm having an issues with a class that I've written. The class is a subclass of another class which is itself a handle class. ...
대략 12년 전 | 답변 수: 3 | 3
3
답변질문
Codegen and the "find" Function
I'm writing a piece of Matlab code that will be used in a Simulink "Matlab Function" block, meaning that it will get run through...
대략 12년 전 | 답변 수: 1 | 0
1
답변답변 있음
Accessing Non-Scalar Arrays with ceval
Apparently the above code would actually work OK if size_t were a 32-bit integer (which I had assumed it was). On my 64-bit lin...
Accessing Non-Scalar Arrays with ceval
Apparently the above code would actually work OK if size_t were a 32-bit integer (which I had assumed it was). On my 64-bit lin...
12년 초과 전 | 0
| 수락됨
질문
Matlab Coder and the uint64 size_t
I've been trying to write some Matlab Coder code that needs a bunch of coder.ceval calls to functions in mat.h and mex.h. I've ...
12년 초과 전 | 답변 수: 1 | 0
1
답변질문
Accessing Non-Scalar Arrays with ceval
Hi, I'm trying to use the Matlab "mat" and "mx" C-libraries to use .mat-files inside of a Matlab function I'm compiling with ...
12년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Loading Files into Codegen Files
I've tried running code identical to what you had there, and I can't get it to compile. (I think it does successfully codegen, ...
Loading Files into Codegen Files
I've tried running code identical to what you had there, and I can't get it to compile. (I think it does successfully codegen, ...
12년 초과 전 | 0
질문
Loading Files into Codegen Files
Is there any good way to load data from files (hopefully MAT-files) into a Matlab function that will be going through the Matlab...
12년 초과 전 | 답변 수: 4 | 0
4
답변질문
gpuDevice Crashing Matlab
I'm try to get up and running with GPU computing through the Parallel Computing Toolbox, but I'm having trouble getting the tool...
12년 초과 전 | 답변 수: 2 | 0
2
답변문제를 풀었습니다
Filter AC, pass DC
Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...
거의 13년 전
문제를 풀었습니다
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]
거의 13년 전
문제를 풀었습니다
Remove DC
Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...
거의 13년 전
문제를 풀었습니다
All capital?
Are all the letters in the input string capital letters? Examples: 'MNOP' -> 1 'MN0P' -> 0
거의 13년 전
문제를 풀었습니다
Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...
거의 13년 전