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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 1

| accettato

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 4

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 1

| accettato

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

oltre 15 anni fa | 2

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

oltre 15 anni fa | 2

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

oltre 15 anni fa | 2

| accettato

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 1

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

| accettato

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

oltre 15 anni fa | 1

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 0

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

oltre 15 anni fa | 1

Risposto
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

oltre 15 anni fa | 3

| accettato

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

oltre 15 anni fa | 2

Carica altro