Author |
Topic  |
|
scalpa
France
Posts |
Posted - 03/26/2024 : 10:14:05 AM
|
Origin Ver. originpro 2024
Hello, Importing a Matlab file with its hierarchical structure, I get a worksheet with a column in which each row is a link to a worksheet. when I click on this link, it creates and fill a new worksheet as it should. How can I program the same thing with LAbtalk ? ie open all or a fraction of these links?
thanks a lot !
Psilberz
|
|
minimax
356 Posts |
Posted - 04/01/2024 : 03:11:13 AM
|
Hi Psilberz,
There is probably no Labtalk access on it.
Have you tried the Matlab Connector? (Data menu - Connect to File - MATLAB)
It provides a different way to import and arrange the data and does not require clicking on worksheet cells to show the data. |
 |
|
scalpa
France
Posts |
Posted - 04/08/2024 : 10:18:21 AM
|
thanks minimax,
that's what I suspected. you're right, connecting to the matlab file is the way to go. now, I have 150 files under one tab (one sheet) in the matrix book (and several similar sheets). I can see them with the slider. However, I can't find the way to get them individualy. how do I get the matrix nb i in this matrix sheet ?
sorry for the basic question and thanks in advance,
best, Psilberz |
 |
|
minimax
356 Posts |
Posted - 04/09/2024 : 01:39:06 AM
|
Hi Psilberz,
What does "nb i" mean? in your "matrix nb i in this matrix sheet".
Is it some abbreviation?
You can click the D icon on the top right corner, which will show each matrix object index on the popup menu, clicking it will activate the corresponding object.
|
 |
|
scalpa
France
Posts |
Posted - 04/09/2024 : 07:01:54 AM
|
Hello minimax, I'm sorry I was not clear. the structure of my file is such that I have a MatrixBook that contains MatrixSheets. Each Sheet is structured in such a way that it is a stack of matrices (or images). So each sheet is acually 150 images that I can nagivate with the slider. my question is : what is the right LabTalk syntax to select say image 78 of MatrixSheet3 of MatrixBook1 ? thanks again for your help Best, P |
 |
|
jasmine_chan
China
Posts |
Posted - 04/09/2024 : 10:23:52 PM
|
window -a MatrixBook1 ; // Activate MatrixBook1 window by name page.active$ = MatrixSheet3; // Activate a matrixsheet by name wks.active = 78; // Activate the 78th matrix object |
 |
|
scalpa
France
Posts |
Posted - 04/10/2024 : 06:42:39 AM
|
that's great ! Thank you so much,
best
P |
 |
|
|
Topic  |
|