Community Profile

photo

kei hin


Last seen: en dag ago Active since 2013

Followers: 0   Following: 0

Message

Answers that are not accepted within a week will be deleted.

Programming Languages:
MATLAB
Spoken Languages:
Chinese
Pronouns:
He/him

Statistics

  • 6 Month Streak
  • Knowledgeable Level 4
  • Thankful Level 3
  • First Answer

View badges

Feeds

View by

Answered
在matlab调用什么函数可以让Simulink模型中的Line自动调整?
Route existing lines of model - MATLAB Simulink.BlockDiagram.routeLine - MathWorks 中国 获取标识模块或信号线的路径 - MATLAB getfullname - Ma...

ungefär 2 månader ago | 0

| accepted

Question


Press html hyperlink to open block in model
Can I use html hyperlink to open a block in model in matlab?

ungefär 2 månader ago | 1 answer | 0

1

answer

Answered
Assign a customized image to an icon on the Quick Access Toolbar
Right click on your Quick Access Toolbar button, then edit the icon you want in command edit window. In R2019b, command below w...

3 månader ago | 1

| accepted

Answered
How can we create saturation behavior with using switch?
You want this?

4 månader ago | 0

| accepted

Answered
How to Get Data from Simulink and to store in Workspace?
Save Simulation Data - MATLAB & Simulink (mathworks.com) Hierarchy tree for simulation data - MATLAB (mathworks.com) Log and P...

4 månader ago | 1

| accepted

Answered
如何得到一个由数字构成的向量中有几组数字?
num = length(unique(T));

4 månader ago | 0

| accepted

Question


Rotate screen orientation by m-file.
How to rotate the orientation of the second screen from landscape to portrait on a dual-monitor system

5 månader ago | 1 answer | 0

1

answer

Answered
how to get name of all element within an bus
Try to use 'To Workspace' block which in Simulink/Sinks library , link to bus selector block to pick the data you want, then rea...

5 månader ago | 0

| accepted

Answered
How does an M file identify whether a simulink file is a library file? M文件是如何识别simulink文件是否为库文件?
在不加载文件的情况下提取 SLX、SLXP 或 MDL 文件信息 - MATLAB - MathWorks 中国 info = Simulink.MDLInfo('file.slx') lib_flg = info.IsLibrary

6 månader ago | 0

| accepted

Answered
search program command in command window use Tab Button
Try to click [fx].

7 månader ago | 0

| accepted

Answered
Could someone please tell me which components are missing for this circuit to automatically and appropriately select inputs when dealing with multiple inputs?
You want this? Select output signal based on control signal - Simulink (mathworks.com)

7 månader ago | 0

| accepted

Answered
Ordering the name of excel files from short to longer length
Check the length inside the for loop and store the sorted result in variables, then use the writetable outside the for loop.

7 månader ago | 0

| accepted

Answered
How to supress the output of the taskkill command?
Try [status,result] = system();

7 månader ago | 0

| accepted

Answered
how to rename the calibration parameter in a simulink model
use find_system() to get all constant block's handle, then use get_param(blockhandle,'value') to get the value in constant, and ...

8 månader ago | 0

| accepted

Answered
Use user input in a function
k=3 f1=func(k) function f1=func(x); n=input('n') f1=n*x; end or n=input('n') k=3 f1=func(n,k) function f1=func(n,x); ...

8 månader ago | 0

| accepted

Answered
Import desktop layouts into a newer release of Matlab
I think you can back up a layout on the new version of MATLAB, then check your prefdir to see which file has been added, and the...

8 månader ago | 1

| accepted

Answered
Use getparam to get value from bus signal
I guess you can try to use 'To Workspace' block which in Simulink/Sinks library , link to bus selector block to pick the data yo...

8 månader ago | 0

| accepted

Answered
Get simulink's print dialog using MATLAB script
打印模型图 - MATLAB & Simulink - MathWorks 中国 从 MATLAB 命令行窗口以编程方式打印模型 - MATLAB & Simulink - MathWorks 中国

8 månader ago | 0

| accepted

Answered
MATLAB failing to read/edit Excel file on first-time code run
try full path, like hWorkbook = hExcel.Workbooks.Open([pwd,'\',outputfile])

9 månader ago | 2

| accepted

Answered
How to create variables from variable names stored in a array?
attributes={'time', 'step', 'cuurent', 'voltage', 'chgAh', 'disAh'}; prompt = 'input what you want: '; input_str = input(pro...

11 månader ago | 0

| accepted

Answered
textscan does not scan the text as accurate as strread, i have "errors"
textscan(strrep(a,' ',''),'%s%f%f%f%f%f%s','Delimiter',' '); or textscan(strrep(a,' ',' '),'%s%f%f%f%f%f%s','Delimiter',' ...

11 månader ago | 0

| accepted

Question


How to set characters font in excel by m-file?
Hi all In VBA, for one cell, I can use 'ActiveCell.Characters(Start:=2, Length:=2).Font.Color = -16776961' to set 2nd and 3rd C...

nästan 2 år ago | 1 answer | 0

1

answer

Answered
Import data from CSV file by Import Tool or textscan
In the script which Import Tool created, change delimiter = ','; to delimiter = {',','\r'}; It seems to have been solved.

mer än 2 år ago | 0

| accepted

Question


Import data from CSV file by Import Tool or textscan
I can import data from csv file by Import Tool(out type:string), and the tool could creat a script(textscan in it) to instead Im...

mer än 2 år ago | 2 answers | 0

2

answers

Answered
focus a block in model by m file
set(block_handle,'selected', 'on'); or set(get_param(block_path,'handle'), 'selected', 'on');

mer än 2 år ago | 0

| accepted

Question


focus a block in model by m file
when I select a block in model, there is a blue outer frame on the block, but when I use 'hilite_system' in m file to focus a bl...

mer än 2 år ago | 1 answer | 0

1

answer

Question


Extract string with regexp()
I have a variable that stores a string. The string contains letters, numbers, underscores and symbols (there is no specific orde...

ungefär 3 år ago | 1 answer | 0

1

answer

Question


Generate PolySpace report with code
When I generate a report with PolySpace 2019a, I got a report without code content but line and column number of code, it is har...

nästan 4 år ago | 1 answer | 0

1

answer

Question


How to limit editfield length and auto shift cursor in App Designer
I have two editfields in App Designer, now I want to limit the editield length to 2, I mean when I input 2 characters in editfie...

mer än 4 år ago | 1 answer | 0

1

answer

Question


get property of selected line and hide name of a line
I have a simulink model, and there are some lines in it, one of lines have name 'AA', and this line name is hide, when I cut the...

ungefär 5 år ago | 1 answer | 0

1

answer

Load more