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

environ 15 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
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 ...

environ 15 ans il y a | 0

Réponse apportée
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...

environ 15 ans il y a | 0

| A accepté

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

environ 15 ans il y a | 1

| A accepté

Réponse apportée
accessing data from workspace
If I understand correctly, your are looking for the "From Workspace" Block from the Sources library ... Titus

environ 15 ans il y a | 0

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
(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...

environ 15 ans il y a | 0

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

environ 15 ans il y a | 0

| A accepté

Réponse apportée
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? ...

environ 15 ans il y a | 0

Réponse apportée
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...

environ 15 ans il y a | 4

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
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...

environ 15 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 15 ans il y a | 2

Réponse apportée
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...

environ 15 ans il y a | 2

Réponse apportée
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...

environ 15 ans il y a | 2

| A accepté

Réponse apportée
Conversion of ascii and hex
Hi, what about dec2hex and hex2dec/hex2num? Titus

environ 15 ans il y a | 0

Réponse apportée
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...

environ 15 ans il y a | 1

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
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:...

environ 15 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 15 ans il y a | 1

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
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...

environ 15 ans il y a | 0

Réponse apportée
How to shift a signal to left ?
Hi Negar, circshift is your friend: circshift(x1, [1 9]) Titus

plus de 15 ans il y a | 1

Réponse apportée
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

plus de 15 ans il y a | 3

| A accepté

Réponse apportée
How to count?
Hi Negar, just count them nPos = sum(x1==1) nNeg = sum(x1==-1) Titus

plus de 15 ans il y a | 2

Charger plus