Jump to content

L Moretti

Members
  • Content Count

    20
  • Joined

  • Last visited

About L Moretti

  • Rank
    Beginner

Profile Information

  • Country
    Italy
  • Are you University user?
    No

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi Ludwig, I believe that the solution suggested by Ronald it's great. Anyway, this should fix the error you were experiencing: xlabel(Plotnames{1,1}); ylabel(Plotnames{1,2}); I have just replaced () with {}. Cheers, Lorenzo
  2. Hi Christian, maybe this 8 lines of code can help you: clc,clear,close all plotnames = cell(4,4); for ii=1:size(plotnames,1) for jj=1:size(plotnames,2) plotnames(ii,jj) = ['plot, row ',num2str(ii),' & column ',num2str(jj)]; end end plotnames Cheers, Lorenzo
  3. Hello Saransakthi, are you looking for something similar to this? Cheers, Lorenzo FFTzoom.oml
  4. Let me see if I get your point. Let's assume that: file = fopen ( ' nodes.txt'.'r'); nodes = textscan(fid, %d %f %f %f %f ) fclose(fid); is my "reading.oml" file. You have more ways to run it: 1) open it in the editor window and click on the run icon (top-left corner of Compose interface); 2) type its name in the Command window and press "enter" 3) call it from a master script. For this case look at the script "master.oml" in attached Have I answered your question? Cheers, Lorenzo P.S. to use the files in attached put them in the same folder. And check that the pwd of Compose is pointing at that folder. master.oml nodes.txt reading.oml
  5. If I have not misunderstood what you're saying, this is due to the fact that the script you're calling is not a function. Feel free to upload your script in the forum, or just the portion of it which is not working. In this way we can solve the problem more easily. Thanks, Lorenzo
  6. Clear! It's way easier! Try to change the extension of the .m file! Just replace .m with .oml! And then you can open it directly in Compose! Cheers, Lorenzo
  7. Hi HenLopes, are you trying to convert a .m file into a .oml (Compose) file, by any chance? Cheers, Lorenzo
  8. Hi HenLopes, could you please post here something similar to what you're trying to read? Thanks, Lorenzo
  9. Hi Henrique, you can access some properties through get(gca) or get(gcf) and then change them through set(gcf,'propertyname','value') or set(gca,'propertyname','value'). Cheers, L
  10. Hi Saransakthi, write a .txt file from Compose is as simple as this: clc,clear,close all fid = fopen('newtxtfile.txt','w'); fwrite(fid,'this is a .txt file'); fclose(fid); What do you have to write? Cheers, L
  11. Hi, check this script! Cheers, L ColBar.oml
  12. Hi, See if this script can help you. I am using textscan. Cheers, Lorenzo reading.oml nodes.txt
  13. Once you plot in a 3D space (for example using surf function) x=[0:0.1:2*pi]; y=x; z=sin(x')*cos(y); s=surf(x, y, z) If you add legend() to your script you will add a colorbar, as here shown:
  14. Hi Saransakthi, with the following script you can see how filtering is done in Compose. And you can afterwards replicate it in your script. Cheers, Lorenzo filtering_demo.oml
  15. It's possible to launch Activate in batch from Compose and eventually get data back to Compose (for example .MAT file) once that Activate run. In this way we can combine the key capabilities of Activate (easy-modeling of systems) and Compose (heavy Post-Processing)! Look at this example! Here is what you need to do: 1) change the extension from .txt to .bat 2) in the .bat file insert the right path of "Activate_batch.bat" and "Slave2019.scm " in your computer 3) Run "Master.oml" Activate Batch.zip
×
×
  • Create New...