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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 1

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 4

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 1

| akzeptiert

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

etwa 15 Jahre vor | 2

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

etwa 15 Jahre vor | 2

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

etwa 15 Jahre vor | 2

| akzeptiert

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

| akzeptiert

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

etwa 15 Jahre vor | 1

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

etwa 15 Jahre vor | 0

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

mehr als 15 Jahre vor | 1

Beantwortet
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

mehr als 15 Jahre vor | 3

| akzeptiert

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

mehr als 15 Jahre vor | 2

Mehr laden