回答済み
How to know which m-file run?
1. Check from command History of matlab. OR 2. In all that files, open and put command "disp('filename')". so that it wil...

8年弱 前 | 0

| 採用済み

回答済み
Help finding location of variable names
Hello Luis, Consider you have *LFHD.txt* file having 50,000 lines of code. Keep it in your current directory and run follo...

8年弱 前 | 0

回答済み
Problem importing large text file (.txt) of data
Hello Marcus, Try using fopen() command instead of importdata() clear all; count = 1; fid = fopen('ascii_file.t...

8年弱 前 | 0

回答済み
input and excel sheet and output a different one
Hello Michel, Create a GUI for the same. Add one Push Button, So that when you click on that Pushbutton, it will import the ...

8年弱 前 | 0

| 採用済み

回答済み
Open an excel sheet after clicking a pushbutton in GUI
Hello Michel, Consider you have GUI " *Test.m*" and " *Test.fig*" files, along with your template " *ABC.xlsx*" file. ...

8年弱 前 | 1

| 採用済み

回答済み
Save part of an array
Hello Sonarine, Try for this.. A = [1:10000]; for i = 1:length(A)/20 B(i,:) = A((i-1)*20+1:i*20); end to check t...

8年弱 前 | 0

| 採用済み

回答済み
To create an array non rectangular, and replace -9.99e+08 by NaN
Hello Rapha alpha, Try for this code.. clear all; contador=1; fid = fopen('ascii_file.txt'); tline = fgetl(...

8年弱 前 | 0

回答済み
After concatenation it is still not concatenated
Hello Anton, Try for this: LSB2 = [LSB1(w,1); LSB1(w,2); LSB1(w,3); LSB1(w,4)]

8年弱 前 | 0

回答済み
Display default value in the edit box in MATLAB GUI
Hello Pankaja, You can do this, by creating new function in your code file (i.e. in .m file of your GUI). 1. Simply create...

8年弱 前 | 1

回答済み
I want to display the results shown in command window by clicking push button
Hi Mania, In order to achieve your requirement, you have to do following changes: 1. In your function file (in which t...

8年弱 前 | 0

回答済み
How plot Sin Wave in Axes of GUI MATLAB
Hello Widya, Your code is correct. I tried running same code and it is working fine and the result is as shown in below snaps...

8年弱 前 | 0

| 採用済み

回答済み
Hello i am new to use matlab I have tried to creat a GUI but i faced a problem of understanding to code for example I want the user to enter two values through the edit box then clicking a push button it will calculate result.
Hello Gebreabzgi Pawlos, Its very simple. In your code, the variables "a", "b", "c" are acting as a local. You creating v...

8年弱 前 | 0

回答済み
Can i set all text boxes to their default value by using only one command
Hello Mania, You can achieve your requirement, by creating new function in your code file (i.e. in .m file of your GUI). ...

8年弱 前 | 1

| 採用済み

回答済み
How to use value entered in one edit text in another one?
Hi Kh wa, The problem in your tool is because of line "por=handles.bb+handles.cc;" under aa_callback. See, when you are ty...

8年弱 前 | 0

回答済み
How to determine if pushbutton/callback is pressed?
Hi Jan, Try for this: function pushbutton1_Callback(hObject, eventdata, handles) handles.First = 1; handles.Second = ...

8年弱 前 | 1

回答済み
how to name matfile from variable name
Hi Kev111, In your code, simply replace the line save('presetName'); with save(char(presetName)); and try..

8年弱 前 | 0

回答済み
I want to display the results shown in command window by clicking push button.
Hi Mania, In order to achieve your requirement, you have to do following changes: 1. In your function file (in which the r...

8年弱 前 | 0

回答済み
Problem in MATLAB GUI. Invalid or deleted object..
According to me, it seems like the function 'st_variogram_pooled(data_train)' is calculating the scale in numeric format, so the...

8年弱 前 | 0

回答済み
Calling an m file from GUI, and using data in workspace
Hi Aniket, I understand your problem with handling GUI. First tell me, is your 'VVS_Function_15A.m' file is having fun...

8年弱 前 | 1

| 採用済み

回答済み
i have to read a text file which contains 50 rows and 2 colums... 1 have to assign the 1st column into one variable and 2nd column to another variable.. what i have to do?
Data = importdata('<txt filename>'); Column1 = Data(:,1); Column2 = Data(:,2); You can also create your own script by p...

10年以上 前 | 1

質問


What is mean by "Simulink.logging Info object could not be located because its class can not be found"?
Hello.. I have two versions of Matlab with me.. one is R2007b and another one is R2010b.. so sometime while loading the .mdl ...

10年以上 前 | 1 件の回答 | 0

1

回答

質問


Any reason, Why Matlab R2007b support fixdt(1,16) OR fixdt(0,16) but not Matlab R2010b?
Hello.. I was working on one of the fixed-point model on R2007b, which was having some of the data-objetcs with fixdt(0,8) an...

10年以上 前 | 0 件の回答 | 0

0

回答

回答済み
How to get the source directory from command window?
The resolution is.. >>bdroot >>filename = strcat(bdroot, '.mdl') >>get_param(gcs, 'filename') Thanks.. :)

約11年 前 | 0

| 採用済み

質問


How to get the source directory from command window?
Hello friends, I have one simulink model opened in my matlab. I know the source directory of that model (.mdl file) and it is...

約11年 前 | 3 件の回答 | 0

3

回答

回答済み
ModelWorkpace disappear under model explorer on R2010bSP1
Hello.. I got resolution for this issue. gcb (block) dont have the parameter called systembound, So insteadof gcb I should...

約11年 前 | 0

| 採用済み

質問


What is the command to set "Window reuse = Reuse"?
File Menu >> Preferences >> Simulink >> Window Reuse How we can set this option to 'Reuse' from command window?

約11年 前 | 1 件の回答 | 0

1

回答

質問


ModelWorkpace disappear under model explorer on R2010bSP1
Hello, I am facing this issue on Matlab R2010bSP1. For my model When I am running script which is having one cammand called "...

約11年 前 | 1 件の回答 | 0

1

回答

質問


How Can I set stateflow editor to FitToView using set_param() command which we normally do pressing spacebar???
Hello, I was creating script in which I need to include the command to set all subsystem and stateflow in fit in view format ...

11年以上 前 | 1 件の回答 | 0

1

回答