Answered
Contextmenu Callback to set class variable
Hi, not really. You could use the setfield function for this purpose: item3 = uimenu(this.mycontextmenu, 'Label', 'bette...

15 years ago | 0

| accepted

Answered
Running UNIX shell commands in MATLAB
Hi, strange indeed. Using the following MATLAB commands should do the same: fid = fopen('debugfile', 'w'); if fid==-1...

15 years ago | 0

Answered
No Figure Windows When Using MATLAB on Remote Mac
Hi, usually this should work. Did you try to play around with the DISPLAY variable? E.g. setting it explicitly to (following ...

15 years ago | 0

Answered
undefined function or method for input arguments of type 'double' only after compilation
Hi, first of all, the missing patch folder is a bug and can be safely ignored, see http://www.mathworks.com/support/bugreport...

15 years ago | 0

| accepted

Answered
Strings
Hi, you are nearly there, I believe: suppose you write in your program at the top myfilename = 'analysed_data1'; you ...

15 years ago | 1

| accepted

Answered
accessing data from workspace
If I understand correctly, your are looking for the "From Workspace" Block from the Sources library ... Titus

15 years ago | 0

Answered
Problem passing large array between matlab and mex function
Hi, did you compile the code using the "-largeArrayDims" flag? See also http://www.mathworks.com/support/solutions/en/data/1...

15 years ago | 0

Answered
How to debug C Mex files in Matlab without in built compiler
Hi, take a look at the instructions for how to debug mex files in Linux, see http://www.mathworks.com/support/tech-notes/160...

15 years ago | 0

Answered
(linux) i am looking for the driver name
Hi, typically the driver comes as some jar file (e.g. mysql-connector-java-5.1.5-bin.jar). You will need to make this accessible...

15 years ago | 0

Answered
Ellip in R2011a
Hi Susan, my guess: ellipap is some other function then ellip expects. which ellipap gives me C:\MATLAB\R2011a\toolbo...

15 years ago | 0

| accepted

Answered
Handling Pointers in C++ library
Hi, hm, not sure I understand the question. For the second half: is the function mxArrayToString what you are looking for? ...

15 years ago | 0

Answered
fprintf don't print newline character?
Hi, "E:\\" looks like windows: you should open the file as a text file: outfile = fopen('E:\\out.txt', 'at'); Note th...

15 years ago | 4

Answered
boundary value problem not of the form y'=f(x,y)
Hi Leon, take a look at ode15s. A is denoted there as Mass matrix, which might also be singular (but with restrictions on "ho...

15 years ago | 0

Answered
How workers share cores and use threads?
Hi Camilo, maxNumCompThreads is a function. If you want to give it a try: when you have you matlabpool open, do pctRunOn...

15 years ago | 0

Answered
How can I find the top level of the entire system from within an active model reference?
Hi Mark, the only way I could think of: myModelName = get_param(bdroot(gcb), 'Name'); % find all model reference bloc...

15 years ago | 1

| accepted

Answered
Some Foreign Matlab forums
Hi Jan, there is something similar to "Answers" in German: www.gomatlab.de. If you click on "Forum", you'll see the different...

15 years ago | 2

Answered
How workers share cores and use threads?
Hi, per default each worker is started in single thread mode: this is motivated by a rule of thumb, namely, "start one worker...

15 years ago | 2

Answered
Passing containers.Map to MEX file
Hi, passing the variable is easy: just use it ;-). O.K., serious now. Passing is not the problem but doing anything meaningf...

15 years ago | 2

| accepted

Answered
Conversion of ascii and hex
Hi, what about dec2hex and hex2dec/hex2num? Titus

15 years ago | 0

Answered
Regarding Creation of an exe from matlab
Hi, not sure, but I guess the following: you might create the prototype file using the option "mfilename" of loadlibrary. Add...

15 years ago | 1

Answered
How can I find the top level of the entire system from within an active model reference?
Hi, I guess, not directly. And it should not be done anyway: the idea of model referencing is, that the referenced model is s...

15 years ago | 0

Answered
textscan reading via row by row, can it read column by column?
Hi, if you happen to get 1 2 3 4 5 6 already into x=[1 2 3 4 5 6] Then you are nearly done:...

15 years ago | 0

| accepted

Answered
To workspace block
Hi Sebastien, using a to file block is of course an alternative. For my answer above, using the set_param command is just for...

15 years ago | 1

Answered
I want use EIGS function compiled by C-MEX
Hi, eigs already uses Arpack library functions for computing. Therefore: no, coding as a C-MEX function would not make it fas...

15 years ago | 0

Answered
trouble connecting to postgresql database from matlab
Hi, in conn we see the database name "baclog", but you said, the name is "backlog"? Otherwise the code looks fine on first si...

15 years ago | 0

Answered
Test EOF while reading a file using csvread function
Hi Andrei, not directly. There are several possibilities though: if you edit csvread, you see the call to dlmread. If you edi...

15 years ago | 0

Answered
To workspace block
Hi, it depends which workspace you expect the data to be: usually they are written to the base workspace. If you want them to...

15 years ago | 0

Answered
How to shift a signal to left ?
Hi Negar, circshift is your friend: circshift(x1, [1 9]) Titus

15 years ago | 1

Answered
How do I concatenate multiple arrays into a single matrix?
Hi, did you try q = [mk{1:3}] or if you want all of them: q = [mk{:}] Titus

15 years ago | 3

| accepted

Answered
How to count?
Hi Negar, just count them nPos = sum(x1==1) nNeg = sum(x1==-1) Titus

15 years ago | 2

Load more