amin ya
Followers: 0 Following: 0
Feeds
提问
Global Simulink static/constant inside Matlab function
Is there a way to define a global Simulink constant that can be called from Matlab functions? I know these options but none wor...
4 years 前 | 1 个回答 | 0
1
个回答提问
Autohotkey doesn't work in Matlab
For the Live Editor in Matlab, I am trying to modify Ctrl+C and Ctrl+V keys, but apparently, Autohotkey scripts don't work in Ma...
5 years 前 | 0 个回答 | 0
0
个回答已回答
using a structure as a global variable
Not using globals is not always possible! Such as in App designer when you need to accesss a workspace variable. But you can use...
using a structure as a global variable
Not using globals is not always possible! Such as in App designer when you need to accesss a workspace variable. But you can use...
5 years 前 | 6
已回答
How can I create a loop that will generate the amount of points that exist in between specific values?
Matrix version: with each group in one row and the rest of the elements as 0 FSpks = [4, 5, 6, 6.5, -1, 2, 4, 5, 6, -1, 1, ...
How can I create a loop that will generate the amount of points that exist in between specific values?
Matrix version: with each group in one row and the rest of the elements as 0 FSpks = [4, 5, 6, 6.5, -1, 2, 4, 5, 6, -1, 1, ...
5 years 前 | 0
| 已接受
提问
Connection with Parrot mini-drone at 192.168.3.1 failed
I am trying to deploy my code on Parrot Mambo, it builds and then this interface gets opened. But for running I get this error: ...
5 years 前 | 1 个回答 | 1
1
个回答提问
MEX compiler 'Intel Parallel Studio XE 2019 for C++ with Microsoft Visual Studio 2017' is not supported.
I cannot compile MEX code on Matlab 2019a (9.6.0.1150989) using Intel Parallel Studio 2019. I get this error: The current MEX c...
5 years 前 | 1 个回答 | 0
1
个回答已回答
.* and * give me different answer
* % matrix multiplication .* % element wise multiplication
.* and * give me different answer
* % matrix multiplication .* % element wise multiplication
5 years 前 | 1
| 已接受
提问
Xilinx Vivado 2019.1 or 2018.3 support?
Here in this link it says that the HDL Workflow Advisor is tested with Xilinx Vivado Design Suite 2018.2 as a third-party FPGA ...
5 years 前 | 2 个回答 | 2
2
个回答已回答
Dot indexing is not supported for variables of this type
If your cell has strctures inside, you should first mention the row and column of the cell then access the structure inside a ce...
Dot indexing is not supported for variables of this type
If your cell has strctures inside, you should first mention the row and column of the cell then access the structure inside a ce...
5 years 前 | 0
已回答
How do I use the value of a variable in function?
Post a minimal working version of your code. You don't say what a and b are! Depends on what you want to do. Z(a,b,c)=distan...
How do I use the value of a variable in function?
Post a minimal working version of your code. You don't say what a and b are! Depends on what you want to do. Z(a,b,c)=distan...
5 years 前 | 0
已回答
Convert optimization problem from R to Matlab
Have you tried this? https://www.rdocumentation.org/packages/popdemo/versions/1.3-0/topics/R2Matlab You need to study Matlab o...
Convert optimization problem from R to Matlab
Have you tried this? https://www.rdocumentation.org/packages/popdemo/versions/1.3-0/topics/R2Matlab You need to study Matlab o...
5 years 前 | 0
已回答
how rng and randn works in Matlab?
Use the followings to see the algorithm: open rng open randn
how rng and randn works in Matlab?
Use the followings to see the algorithm: open rng open randn
5 years 前 | 0
提问
Arduino Simulink codertarget.arduinotarget.internal.addCompilerPath error
For Arduino inside Simulink: I am trying to build a model in external mode. I have made the model using control algorithm templ...
5 years 前 | 1 个回答 | 0
1
个回答已回答
Round polynomial coeff symbolic
Ok, 3rd method works strangely. Pi = sym('pi'); %if you want it treated as symbolic
Round polynomial coeff symbolic
Ok, 3rd method works strangely. Pi = sym('pi'); %if you want it treated as symbolic
5 years 前 | 0
| 已接受
提问
Round polynomial coeff symbolic
As built in Matlab lacks this, I have written a code to find coeffitients that are very small: function symRound=coeffRounder(s...
5 years 前 | 1 个回答 | 0
1
个回答提问
Coder - Subtract vector from matrix, size mismatch error
Although MATLAB supports subtracting a vector from a matrix (as stated here : https://www.mathworks.com/help/matlab/matlab_prog/...
5 years 前 | 1 个回答 | 0
1
个回答已回答
How do I fix receiving "Caught throwable while adding doc set item to doc set builder: null" in the command window after Startup?
I solved the problem by reintsalling MATLAB.
How do I fix receiving "Caught throwable while adding doc set item to doc set builder: null" in the command window after Startup?
I solved the problem by reintsalling MATLAB.
5 years 前 | 1
| 已接受
提问
programming Arduino both in IDE and MATLAB
I have a question regarding programming Arduino simultaneously both in native Arduino IDE and MATLAB (a hybrid workflow). Is the...
5 years 前 | 0 个回答 | 0
0
个回答已回答
Washing machine starting code
The question is very broad. So probably you won't get much of help here, as here is not a place to ask physiscs or modelling que...
Washing machine starting code
The question is very broad. So probably you won't get much of help here, as here is not a place to ask physiscs or modelling que...
5 years 前 | 0
已回答
how i can addon fuzzy logic toolbox in pre installed matlab ?
https://www.mathworks.com/campaigns/products/trials/trial-fl.html
how i can addon fuzzy logic toolbox in pre installed matlab ?
https://www.mathworks.com/campaigns/products/trials/trial-fl.html
5 years 前 | 0
提问
Coder - passing extra variables to function (Function Pointer/Functor)
In MATLAB, whenever I want to pass extra variables to originalFunction (to keep the callerFunction code clear and abstract), I w...
5 years 前 | 0 个回答 | 0
0
个回答已回答
MATLAB 2019a Windows 10 support
MATLAB 2019a works on any Windows 10. https://www.mathworks.com/support/requirements/matlab-system-requirements.html
MATLAB 2019a Windows 10 support
MATLAB 2019a works on any Windows 10. https://www.mathworks.com/support/requirements/matlab-system-requirements.html
5 years 前 | 0
| 已接受
已回答
How could I passing parameters from .m file to GUI
I don't understand your problem If you are trying to print something use one of the following commands fprintf() disp() If y...
How could I passing parameters from .m file to GUI
I don't understand your problem If you are trying to print something use one of the following commands fprintf() disp() If y...
5 years 前 | 0
提问
Coder - Create constant for specifying array size
How can I create a constant variable in MATLAB (and its results the generated C code), so I can use it later in my code to speci...
5 years 前 | 1 个回答 | 0
1
个回答已回答
Efficient Multiplication of Submatrices whose results are to be safed in Submatrices
Why you don't simly use : A(1:100,1:100)*B(1:100,1:100) Matlab matrix multiplication already uses parallelization which is ver...
Efficient Multiplication of Submatrices whose results are to be safed in Submatrices
Why you don't simly use : A(1:100,1:100)*B(1:100,1:100) Matlab matrix multiplication already uses parallelization which is ver...
5 years 前 | 0
提问
symfun to sym conversion error only in a Function (not Script)
When I use the following code as a script it works without any error. % function [A]=myFun() syms t real %time syms w(t) ...
5 years 前 | 0 个回答 | 0
0
个回答提问
Coder - Static size string in sprintf
How can I prevent MATLAB Coder to generate variable size code for a simple number insertion into a string? for i=1:4 ...
5 years 前 | 1 个回答 | 0
1
个回答已回答
Use a symfun as index of a matrix
use formula to convert symfun to a matrix: matrix=formula()
Use a symfun as index of a matrix
use formula to convert symfun to a matrix: matrix=formula()
6 years 前 | 1
提问
Microsoft Visual Studio 2017 is not detected in Matlab 2018b
I have installed Microsoft Visual Studio 2017 community, but when I run: mex -setup I get this error: E...
6 years 前 | 2 个回答 | 0
2
个回答已回答
sorting data in a nested cell
You need to write a for loop and use classic sort algorithm. I had this problem, but there is no easy way to access or sort the ...
sorting data in a nested cell
You need to write a for loop and use classic sort algorithm. I had this problem, but there is no easy way to access or sort the ...
6 years 前 | 1
| 已接受