Réponse apportée
How to write a function of a curve?
Hi, try an anonymous function. <http://www.mathworks.com/help/matlab/matlab_prog/anonymous-functions.html> So for examp...

plus de 13 ans il y a | 2

| A accepté

Réponse apportée
Anyone have Java implementation for Matlab functions?
Hi, this could be worth a shot: use MATLAB Coder to generate C code out of your MATLAB code. Then use some ARM compiler an...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
renaming files to easily read it in to matlab problematic
Hi, why renaming them? This is not needed. Use the dir command to get a struct array which contains also the filenames: ...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
How can I use visdiff correctly?
Hi, sounds like a messed up ML search path. Try running: restoredefaultpath; matlabrc After that try again. Normal...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Structure declaration in Matlab
Hi, I dont have a MATLAB for testing at the moment but I guess the declaration should look like this: estruct = struct...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
How can I define which .Net framework shall a deployed MATLAB function use?
Hi, first of all this is expected behavior due some .NET Security Policies. The MCR load the 2.0 CLR which then needs to load...

presque 14 ans il y a | 2

| A accepté

Réponse apportée
coder.ceval('printf',....) does not print a message instantaneously
Hi, as long you stay with mex you can do a mexEvalString("drawnow"); So a coder.ceval('mexEvalString', '"dr...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
How to deploy package that calls an external .m file
This wont work at all. MATLAB Compiler generated exe's can't read/use plain m files. The only way to have interchangeable dat...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
normalize a maatrix of 13 columns
Hi, I think this should do it: bsxfun(@rdivide,A,sqrt(sum(A.*A,1))) So looking at an easy example: A = [1 2 3;...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
Does setenv not set variables for MEX functions?
Hi, I think the following Microsoft statement should help here: "getenv and _putenv use the copy of the environment ...

presque 14 ans il y a | 4

| A accepté

Réponse apportée
C# .NET Trouble initializing libraries required by Builder NE
Hi, normally one would create a .exe.config file with the same name as your application and put in the following lines: ...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
Time limit for the Exclamation Point — !
Hi, which OS are you on? On windows you can use activex and the WScript.Shell component to set a timeout and cancel the star...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Forcing deploytool to include toolbox.
Hi, Simulink and all other Toolboxes which are based on Simulink can't be compiled with ML Compiler: <http://www.mathworks...

presque 14 ans il y a | 1

| A accepté

Réponse apportée
Matlab Compiler - Invalid MEX-file for 'sqp' in optimization toolbox
Hi, @Kaustubha: very unlikely. If the function is missing you would get an unkown function error!!! Seems more like a miss...

presque 14 ans il y a | 2

| A accepté

Réponse apportée
Binary to Signed decimal in MATLAB
Hi, can't you simply do the inverse way to get it back? Or am I missing something here? typecast(uint16(bin2dec('1000000...

presque 14 ans il y a | 2

| A accepté

Réponse apportée
replicate values of a vector
Hi, try repmat: repmat(A,4,1) Or for the other direction: repmat(A,1,4) In the case you want it repeated lik...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Excel help
Hi, at least this works fine for me: x = [2 6 7 13 27 100] xlswrite('test.xlsx',{num2str(x)}) [~,data] = xlsread...

presque 14 ans il y a | 0

| A accepté

Réponse apportée
Mex Compiler Setup
Hi, VS 2008 Express isnt supported by 11b: <http://www.mathworks.com/support/compilers/R2011b/win32.html> So what did y...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Please help!
Hi, please preallocate the output variables first, because the first appearance of nest is in a loop where you populate it, ...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
reading external data via com port or parallel port
Hi, have you tried the serial command? <http://www.mathworks.com/help/releases/R2012a/techdoc/ref/serial.html>

environ 14 ans il y a | 1

| A accepté

Réponse apportée
mcc or standalone simulation error
Hi, this is a bug, see here for a workaround: <http://www.mathworks.com/support/bugreports/764094>

environ 14 ans il y a | 1

| A accepté

Réponse apportée
extract numbers from string in a cell
Hi, you can use regexprep or some ascii value representation comparison to do so, e.g. a = {'TT21abc.def'}; %asci...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Launch MCR in a C# code
Hi again, Since you have an installed MATLAB and working with C#, why arent you using COM directly? This makes it a way easie...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
Set Excel cell interior color to RGB value
Hi, try the following: rgb_val = @(r,g,b) r*1+g*256+b*256^2; WB.Worksheets.Item(1).Range('A2').Interior.Color = rgb_v...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
To translate TriScatteredInterp from Matlab to C# or C++
Hi, besides of that error message. Don't even try to generate a mex file from that code because TriScatteredInterp isn't supp...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Make error because of MATLAB function block.
Hi, run mex -setup to choose a supported installed compiler ( <http://www.mathworks.com/support/compilers/R2011a/win32.html> ...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
executable form of m-file
Hi, you need the MATLAB Compiler for it: <http://www.mathworks.com/products/compiler/> Beware of the limitations: <h...

environ 14 ans il y a | 1

Réponse apportée
MATLAB error in counting
Hi num2str is correct here, but the missing space after the 2 makes the result looking wrong, because the correct number 1537...

environ 14 ans il y a | 0

| A accepté

Réponse apportée
How to get Tabpanel constructor v2.8 running?
Hi, seems like a small typo. Try tabpanel instead of panel with two a's.

environ 14 ans il y a | 1

Réponse apportée
2012a Does Not Install
Hi, please contact the installation support from MathWorks. They will help you.

environ 14 ans il y a | 1

| A accepté

Charger plus