Community Profile

photo

Stephen


Last seen: 1 year ago Active since 2011

Followers: 0   Following: 0

Message

Professional Interests: System Modeling

Statistics

All
  • First Review
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
problem with interp1
Your definition of "dlrg" probably contains duplications. You aren't running unique on "dlrg" and that is the vector of values ...

5 years ago | 1

Answered
Question about accuracy of two different methods
Method 1 has 5000 operations, each of which is bound to generate some error. Your machine epsilon may vary from mine, but mine ...

5 years ago | 1

| accepted

Answered
accelerating a function that spends a lot of time in ncread
You might. Have you tried a simple script encasing your proposed netcdt.open and .getVar calls inside the "tic" and "toc"? ...

5 years ago | 0

Answered
save problem: -STRUCT must be the name of a scalar structure variable
It is unclear from your post what the data type of variable "S" is. But the error is telling you that "S" is NOT a structure. ...

5 years ago | 0

| accepted

Answered
How to solve Error-9
Short answer: Contact your Matlab IT administrator. At the very least you'll need to generate a new license file in your mathw...

5 years ago | 0

| accepted

Answered
Can client use the node located in different countries?
The challenges would be to make the remote/foreign located nodes available to the head node, and then to maintain enough through...

5 years ago | 0

| accepted

Answered
Sort cells order according to their values?
I'm not sure why your desired output is being spread over two function outputs, but I believe you should be using the "sort" fun...

5 years ago | 0

| accepted

Answered
Is there a way to Run Simulations Programmatically when they contain a protected model
You're probably out of luck. The core issue is that protected models such as S-Functions don't have a "mdlLoad" function that r...

5 years ago | 0

Answered
How to get list of constant blocks in model and its default value in Matlab?
I would recommend you investigate the "find_system" function in the help files. The first command you need is likely some va...

5 years ago | 2

| accepted

Answered
Is it posible to add some sort of listbox/button that adds a figure in the program?
Rather than have the code "create" the additional boxes, you'd probably be better off building a GUI with all 10 of the input bo...

6 years ago | 0

Answered
I want to create a table from this for loop for each different value the overtimesalary and salary
One problem you're probably having is that you are overwriting the Overtimesalary variable each loop. I would restructure the c...

6 years ago | 0

Answered
I have a large table with over 13,000 rows, each row represents an experiment and containins a set of genes. I would like to get generate a list of all the genes and the number of experiments that contain that gene. For example:
Given your example and format, you will probably want to make use of a for loop and the "unique" function: Gene = struct('n...

6 years ago | 0

Answered
Changing parameters of a block for different simulation steps
A for loop would implement a counting variable as you want, and then you would calculate R(I) in the loop before running the sim...

6 years ago | 0

Answered
Error: Attempt to reference field of non-structure array.
The .fig file is not a stand-alone GUI. The like named .m file instantiates the .fig as a GUI. The .fig is like a structure fo...

6 years ago | 0

| accepted

Answered
Why am I unable to access a network drive when using the MDCS service in MATLAB Distributed Computing Server 4.1 (R2009a)?
Is there somewhere in the documentation that deals with what to do when this suggestion doesn't work in R2013a?

9 years ago | 0

Solved


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...

10 years ago

Solved


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:...

10 years ago

Answered
Question about using MATLAB GUIDE functions
You need to add the code into the callback for pressing the button. Assuming you have one button and haven't renamed the tags, ...

12 years ago | 0

Answered
String and cell compares?
I think this is about what you want your code to do. The easiest way to create a cell array of strings is to put the strings in ...

12 years ago | 0

Answered
Looping through Cell array
Yes, look up eval() and evalin() functions in the help files. These functions accept strings as inputs and evaluate them as tho...

12 years ago | 0

| accepted

Answered
Help with debugging an error: Attempted to access R(1); index out of bounds because numel(R)=0???
Are bootstrp and bootr functions you've defined? It would be really difficult to debug without seeing those. If the code used ...

12 years ago | 0

Question


Simulink: Is there any setting that allows for partial library linking?
I am building a library of generic blocks and I am having some trouble getting the library to function in the way I want to. I ...

12 years ago | 2 answers | 1

2

answers

Question


MDCS Issue: Client can't connect to server. Failing "LockDown Test"
I am resetting my MDCS server and I am running into a bit of difficulty with the process. This MDCS server was working until re...

12 years ago | 1 answer | 0

1

answer